cvs commit: src/sys/fs/devfs devfs.h devfs_rule.c devfs_vfsops.c
phk at FreeBSD.org
Sat Sep 24 00:03:09 PDT 2005
phk 2005-09-24 07:03:09 UTC
FreeBSD src repository
sys/fs/devfs devfs.h devfs_rule.c devfs_vfsops.c
Make rule zero really magical, that way we don't have to do anything
when we mount and get zero cost if no rules are used in a mountpoint.
Add code to deref rules on unmount.
Switch from SLIST to TAILQ.
Drop SYSINIT, use SX_SYSINIT and static initializer of TAILQ instead.
Drop goto, a break will do.
Reduce double pointers to single pointers.
Combine reaping and destroying rulesets.
Avoid memory leaks in a some error cases.
Revision Changes Path
1.28 +1 -1 src/sys/fs/devfs/devfs.h
1.20 +97 -151 src/sys/fs/devfs/devfs_rule.c
1.48 +1 -1 src/sys/fs/devfs/devfs_vfsops.c
More information about the cvs-src