svn commit: r226991 - stable/8/sys/fs/nullfs
Konstantin Belousov
kib at FreeBSD.org
Tue Nov 1 15:51:10 UTC 2011
Author: kib
Date: Tue Nov 1 15:51:09 2011
New Revision: 226991
URL: http://svn.freebsd.org/changeset/base/226991
Log:
MFC r226686:
The covered vnode must be reloced if it was unlocked. Remove VOP_ISLOCKED
test because of this and also because it can lead to false positives.
Modified:
stable/8/sys/fs/nullfs/null_vfsops.c
Directory Properties:
stable/8/sys/ (props changed)
Modified: stable/8/sys/fs/nullfs/null_vfsops.c
==============================================================================
--- stable/8/sys/fs/nullfs/null_vfsops.c Tue Nov 1 15:41:55 2011 (r226990)
+++ stable/8/sys/fs/nullfs/null_vfsops.c Tue Nov 1 15:51:09 2011 (r226991)
@@ -119,7 +119,7 @@ nullfs_mount(struct mount *mp)
/*
* Re-lock vnode.
*/
- if (isvnunlocked && !VOP_ISLOCKED(mp->mnt_vnodecovered))
+ if (isvnunlocked)
vn_lock(mp->mnt_vnodecovered, LK_EXCLUSIVE | LK_RETRY);
if (error)
More information about the svn-src-stable-8
mailing list