Fix problem introduced in rev.1.406, which can cause already unlocked
mutex being unlocked again causing system panic.
This commit is contained in:
parent
04470831a8
commit
18d9db4bb5
@ -3148,6 +3148,7 @@ vfs_msync(struct mount *mp, int flags)
|
||||
curthread)) {
|
||||
if (vp->v_vflag & VV_NOSYNC) { /* unlinked */
|
||||
vput(vp);
|
||||
mtx_lock(&mntvnode_mtx);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user