Remove superfluous VOP_UNLOCK(), vnode will be unlocked from spec_reclaim().
This commit is contained in:
parent
b783399854
commit
836873044c
|
@ -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 @@ mfs_reclaim(void *v)
|
|||
struct mfsnode *mfsp = VTOMFS(vp);
|
||||
int refcnt;
|
||||
|
||||
VOP_UNLOCK(vp);
|
||||
|
||||
mutex_enter(&mfs_lock);
|
||||
vp->v_data = NULL;
|
||||
refcnt = --mfsp->mfs_refcnt;
|
||||
|
|
Loading…
Reference in New Issue