Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 14:01:18 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        current@FreeBSD.ORG
Subject:   bug in devfs_strategy() ???
Message-ID:  <199901272201.OAA61764@apollo.backplane.com>
References:   <199901272135.NAA57832@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    Aren't there are few BREAK statements missing from this ?

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

static int      
devfs_strategy(struct vop_strategy_args *ap)
{
	...
        switch (ap->a_vp->v_type) {
        case VCHR:
                (*dnp->by.Cdev.cdevsw->d_strategy)(bp);
        case VBLK:
                (*dnp->by.Bdev.bdevsw->d_strategy)(bp);
        }       
        return (0);
}



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901272201.OAA61764>