freebsd-dev/sys/gnu/fs/ext2fs
Poul-Henning Kamp 2447bec829 Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.
1999-05-31 11:29:30 +00:00
..
COPYRIGHT.INFO
ext2_alloc.c Fixed printing of a dev_t in a panic message. Fixed the function name 1999-05-13 06:27:51 +00:00
ext2_balloc.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
ext2_bmap.c I got tired of seeing all the cdevsw[major(foo)] all over the place. 1999-05-08 06:40:31 +00:00
ext2_extern.h
ext2_fs_sb.h
ext2_fs.h
ext2_inode_cnv.c
ext2_inode.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
ext2_linux_balloc.c Added a used #include (don't depend on "vnode_if.h" including <sys/buf.h>). 1999-02-25 15:54:06 +00:00
ext2_linux_ialloc.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
ext2_lookup.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
ext2_mount.h
ext2_readwrite.c
ext2_subr.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 21:50:00 +00:00
ext2_vfsops.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ext2_vnops.c This Implements the mumbled about "Jail" feature. 1999-04-28 11:38:52 +00:00
fs.h
i386-bitops.h
inode.h Don't depend on <ufs/ufs/quota.h> or another (old) prerequisite including 1999-03-06 05:21:09 +00:00