Not much point doing anything after a panic call
This commit is contained in:
parent
c3a3e06e27
commit
2731853b39
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $ */
|
||||
/* $NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
|
||||
@ -125,7 +125,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_netbsd.h"
|
||||
@ -1451,11 +1451,8 @@ lfs_reclaim(void *v)
|
||||
ip->i_state &= ~IN_PAGING;
|
||||
TAILQ_REMOVE(&fs->lfs_pchainhd, ip, i_lfs_pchain);
|
||||
}
|
||||
if (vp->v_uflag & VU_DIROP) {
|
||||
if (vp->v_uflag & VU_DIROP)
|
||||
panic("reclaimed vnode is VU_DIROP");
|
||||
vp->v_uflag &= ~VU_DIROP;
|
||||
TAILQ_REMOVE(&fs->lfs_dchainhd, ip, i_lfs_dchain);
|
||||
}
|
||||
mutex_exit(&lfs_lock);
|
||||
|
||||
pool_put(&lfs_dinode_pool, ip->i_din);
|
||||
|
Loading…
Reference in New Issue
Block a user