cvs commit: src/sys/kern vfs_subr.c src/sys/sys vnode.h
Konstantin Belousov
kib at FreeBSD.org
Thu Aug 28 09:09:39 UTC 2008
kib 2008-08-28 09:08:15 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
sys/sys vnode.h
Log:
SVN rev 182364 on 2008-08-28 09:08:15Z by kib
Introduce the VV_FORCEINSMQ vnode flag. It instructs the insmnque() function
to ignore the unmounting and forces insertion of the vnode into the mount
vnode list.
Change insmntque() to fail when forced unmount is in progress and
VV_FORCEINSMQ is not specified.
Add an assertion to the insmntque(), requiring the vnode to be
exclusively locked for mp-safe filesystems.
Use the VV_FORCEINSMQ for the creation of the syncvnode.
Tested by: pho
Reviewed by: tegge
MFC after: 1 month
Revision Changes Path
1.738 +20 -5 src/sys/kern/vfs_subr.c
1.338 +1 -0 src/sys/sys/vnode.h
More information about the cvs-src
mailing list