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:
Konstantin Belousov 2012-12-15 02:03:59 +00:00
parent 4eea8aea94
commit 9f37ee804a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244239

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;