Date: Thu, 28 Aug 2008 09:08:15 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/sys vnode.h Message-ID: <200808280909.m7S99dSc063024@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808280909.m7S99dSc063024>