diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-11-21 21:37:02 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-11-21 21:37:02 +0000 |
commit | c63441fe17dedf59cb26a9baf203fc080c7c22cb (patch) | |
tree | 35a9fc0f2d79a092cacf96fa7c2874977524582d /sys/msdosfs/msdosfs_vfsops.c | |
parent | 759ea1982bc8e1540335f26f7d00149a01bfd7fc (diff) |
VOP_UNLOCK + vrele does not alway == vput
Diffstat (limited to 'sys/msdosfs/msdosfs_vfsops.c')
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 14bb93cb0c9..fec59174189 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.24 2001/11/21 21:16:18 csapuntz Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.25 2001/11/21 21:37:01 csapuntz Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -733,7 +733,8 @@ msdosfs_sync_vnode(struct vnode *vp, void *arg) if ((error = VOP_FSYNC(vp, msa->cred, msa->waitfor, msa->p)) != 0) msa->allerror = error; - vput(vp); + VOP_UNLOCK(vp, 0, msa->p); + vrele(vp); return (0); } |