Fix problem introduced in rev.1.406, which can cause already unlocked

mutex being unlocked again causing system panic.
This commit is contained in:
sobomax 2002-10-05 12:56:10 +00:00
parent 04470831a8
commit 18d9db4bb5

View File

@ -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;
}