Fix typo in vnode flags causing deadlock in msdosfs_fsync().

Reviewed by:	jeff
This commit is contained in:
Pierre Beyssac 2002-08-05 21:07:30 +00:00
parent 0f1bfcd283
commit f7a91b49b7

View File

@ -830,7 +830,7 @@ msdosfs_fsync(ap)
goto loop; goto loop;
} }
while (vp->v_numoutput) { while (vp->v_numoutput) {
vp->v_vflag |= VI_BWAIT; vp->v_iflag |= VI_BWAIT;
(void) msleep((caddr_t)&vp->v_numoutput, VI_MTX(vp), (void) msleep((caddr_t)&vp->v_numoutput, VI_MTX(vp),
PRIBIO + 1, "msdosfsn", 0); PRIBIO + 1, "msdosfsn", 0);
} }