aio_fsync_vnode: handle ERELOOKUP after VOP_FSYNC()

Reported by:	tmunro
Reviewed by:	jhb, tmunro
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32023
This commit is contained in:
Konstantin Belousov 2021-09-20 12:32:28 +03:00
parent 922bee44e4
commit 2933a7ca03

View File

@ -745,7 +745,8 @@ aio_fsync_vnode(struct thread *td, struct vnode *vp, int op)
VOP_UNLOCK(vp);
vn_finished_write(mp);
break;
if (error != ERELOOKUP)
break;
}
return (error);
}