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. Tested by: pho MFC after: 1 week
This commit is contained in:
parent
1c4edd12cd
commit
ffa43617e8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user