Fix a typo, resulting in the NULL pointer dereference.
Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
66ca3740cf
commit
d0ab51105c
@ -1044,7 +1044,7 @@ qsync(struct mount *mp)
|
||||
error = vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td);
|
||||
if (error) {
|
||||
if (error == ENOENT) {
|
||||
MNT_VNODE_FOREACH_ALL_ABORT(mp, mvp);
|
||||
MNT_VNODE_FOREACH_ACTIVE_ABORT(mp, mvp);
|
||||
goto again;
|
||||
}
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user