- Add a forgotten BUF_LOCK()

Most sincere apologies to:	jake
This commit is contained in:
Jeff Roberson 2003-03-14 05:13:19 +00:00
parent 3ba6b6dd9d
commit 8501ead911
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112225

View File

@ -2664,6 +2664,7 @@ nfs_flush(struct vnode *vp, struct ucred *cred, int waitfor, struct thread *td,
}
if ((bp->b_flags & (B_DELWRI | B_NEEDCOMMIT)) !=
(B_DELWRI | B_NEEDCOMMIT)) {
BUF_UNLOCK(bp);
nbp = TAILQ_NEXT(bp, b_vnbufs);
continue;
}