Date: Thu, 9 Sep 2010 07:55:13 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212356 - head/sys/kern Message-ID: <201009090755.o897tDT7049059@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Thu Sep 9 07:55:13 2010 New Revision: 212356 URL: http://svn.freebsd.org/changeset/base/212356 Log: Remove VI_MOUNT flag from vnode on VFS_MOUNT() failure. Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern/vfs_mount.c ============================================================================== --- head/sys/kern/vfs_mount.c Thu Sep 9 07:52:15 2010 (r212355) +++ head/sys/kern/vfs_mount.c Thu Sep 9 07:55:13 2010 (r212356) @@ -856,6 +856,9 @@ vfs_domount_first( if (error != 0) { vfs_unbusy(mp); vfs_mount_destroy(mp); + VI_LOCK(vp); + vp->v_iflag &= ~VI_MOUNT; + VI_UNLOCK(vp); vrele(vp); return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009090755.o897tDT7049059>