1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-24 16:10:11 +00:00

- Remove an incorrect XXX comment. This code does respect the XLOCK since

it uses vget() which will fail if the identity changes.
This commit is contained in:
Jeff Roberson 2003-10-05 06:47:56 +00:00
parent b21ad23fff
commit 1b01fc6ef7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120788

View File

@ -943,7 +943,6 @@ nfs_sync(struct mount *mp, int waitfor, struct ucred *cred, struct thread *td)
if (vp->v_mount != mp)
goto loop;
vnp = TAILQ_NEXT(vp, v_nmntvnodes);
/* XXX Not obeying XLOCK. */
VI_LOCK(vp);
mtx_unlock(&mntvnode_mtx);
if (VOP_ISLOCKED(vp, NULL) || TAILQ_EMPTY(&vp->v_dirtyblkhd) ||