Obtain mount point lock before restarting sync loop if vget() failed.
Reviewed by: truckman
This commit is contained in:
parent
97eeba7fec
commit
012cbd3181
@ -752,6 +752,7 @@ loop:
|
||||
continue;
|
||||
}
|
||||
if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td)) {
|
||||
MNT_ILOCK(mp);
|
||||
goto loop;
|
||||
}
|
||||
error = VOP_FSYNC(vp, waitfor, td);
|
||||
|
Loading…
x
Reference in New Issue
Block a user