mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 13:23:36 +00:00
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
4eea8aea94
commit
9f37ee804a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244239
|
@ -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 a new issue