From f7a91b49b74369631939a98f081dcbbb80141229 Mon Sep 17 00:00:00 2001 From: Pierre Beyssac Date: Mon, 5 Aug 2002 21:07:30 +0000 Subject: [PATCH] Fix typo in vnode flags causing deadlock in msdosfs_fsync(). Reviewed by: jeff --- sys/fs/msdosfs/msdosfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 210e9a82ce22..21e3f371dc10 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -830,7 +830,7 @@ msdosfs_fsync(ap) goto loop; } while (vp->v_numoutput) { - vp->v_vflag |= VI_BWAIT; + vp->v_iflag |= VI_BWAIT; (void) msleep((caddr_t)&vp->v_numoutput, VI_MTX(vp), PRIBIO + 1, "msdosfsn", 0); }