msdosfs: add a missing MNT_VNODE_FOREACH_ALL_ABORT to msdosfs_sync

This commit is contained in:
Mateusz Guzik 2020-01-01 22:47:00 +00:00
parent 2a168f03ac
commit f342b91c76

View file

@ -925,8 +925,10 @@ loop:
}
error = vget(vp, LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, td);
if (error) {
if (error == ENOENT)
if (error == ENOENT) {
MNT_VNODE_FOREACH_ALL_ABORT(mp, nvp);
goto loop;
}
continue;
}
error = VOP_FSYNC(vp, waitfor, td);