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:
kib 2012-12-15 02:03:59 +00:00
parent 66ca3740cf
commit d0ab51105c

View File

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