cvs commit: src/sys/kern vfs_syscalls.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Sep 19 11:21:16 PDT 2006
dillon 2006/09/19 11:17:46 PDT
DragonFly src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Check that namecache references to the mount point are no longer present
before unmounting a filesystem. Forced unmounts ignore the check but will
print a warning.
This patch is primarily designed to prevent nullfs partitions from being
unmounted while processes are still present within them. The normal vnode
check does not work for nullfs mounts since nullfs mounts do not hold any
vnodes of their own.
Note that this will cause a warning to be reported for the root filesystem
when rebooting.
Revision Changes Path
1.106 +42 -10 src/sys/kern/vfs_syscalls.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.105&r2=1.106&f=u
More information about the Commits
mailing list