diff options
author | dillon <dillon@FreeBSD.org> | 2001-10-08 19:51:13 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-10-08 19:51:13 +0000 |
commit | 414efe2875a2395686b51eff9af5c163057f3af7 (patch) | |
tree | 8620839bfeea465d656bc9ed65abd00142924224 /sys/kern/vfs_subr.c | |
parent | d8ccad8c7a1a05aedfa9a13c8f711e1ec4b8dc8c (diff) | |
download | FreeBSD-src-414efe2875a2395686b51eff9af5c163057f3af7.zip FreeBSD-src-414efe2875a2395686b51eff9af5c163057f3af7.tar.gz |
WS Cleanup
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 25bd80b..17deea2 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1574,7 +1574,6 @@ vrele(vp) } if (vp->v_usecount == 1) { - vp->v_usecount--; if (VSHOULDFREE(vp)) vfree(vp); @@ -1616,15 +1615,12 @@ vput(vp) ("vput: missed vn_close")); if (vp->v_usecount > 1) { - vp->v_usecount--; VOP_UNLOCK(vp, LK_INTERLOCK, td); return; - } if (vp->v_usecount == 1) { - vp->v_usecount--; if (VSHOULDFREE(vp)) vfree(vp); |