Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/mfs Remove superfluous VOP_UNLOCK(), vnode will be u...



details:   https://anonhg.NetBSD.org/src/rev/e4b39c32ae09
branches:  trunk
changeset: 449056:e4b39c32ae09
user:      hannken <hannken%NetBSD.org@localhost>
date:      Wed Feb 20 10:03:55 2019 +0000

description:
Remove superfluous VOP_UNLOCK(), vnode will be unlocked from spec_reclaim().

diffstat:

 sys/ufs/mfs/mfs_vnops.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 98c651ddf6c9 -r e4b39c32ae09 sys/ufs/mfs/mfs_vnops.c
--- a/sys/ufs/mfs/mfs_vnops.c   Wed Feb 20 10:03:25 2019 +0000
+++ b/sys/ufs/mfs/mfs_vnops.c   Wed Feb 20 10:03:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mfs_vnops.c,v 1.58 2017/05/26 14:21:02 riastradh Exp $ */
+/*     $NetBSD: mfs_vnops.c,v 1.59 2019/02/20 10:03:55 hannken Exp $   */
 
 /*
  * Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.58 2017/05/26 14:21:02 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfs_vnops.c,v 1.59 2019/02/20 10:03:55 hannken Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -297,8 +297,6 @@
        struct mfsnode *mfsp = VTOMFS(vp);
        int refcnt;
 
-       VOP_UNLOCK(vp);
-
        mutex_enter(&mfs_lock);
        vp->v_data = NULL;
        refcnt = --mfsp->mfs_refcnt;



Home | Main Index | Thread Index | Old Index