diff options
| author | hannken <hannken@NetBSD.org> | 2013-10-04 08:35:08 +0000 |
|---|---|---|
| committer | hannken <hannken@NetBSD.org> | 2013-10-04 08:35:08 +0000 |
| commit | bebbb4e9089867c167fcc6158ca9b8ebc9968fee (patch) | |
| tree | ed512ed9b8cb8cc3fd5bd65be60cc4d9e93dd260 | |
| parent | 995203cd89d6bf1f6d6b72b020eb96f52c6e0aac (diff) | |
Remove a bogus vrecycle() from udf_inactive(). Vrecycle() works on inactive
vnodes while VOP_INACTIVE() should never be called on an inactive vnode.
Ok: Reinoud Zandijk <reinoud@netbsd.org>
| -rw-r--r-- | sys/fs/udf/udf_vnops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index bc34f029635..6d05d482792 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: udf_vnops.c,v 1.85 2013/07/10 15:10:56 reinoud Exp $ */ +/* $NetBSD: udf_vnops.c,v 1.86 2013/10/04 08:35:08 hannken Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.85 2013/07/10 15:10:56 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.86 2013/10/04 08:35:08 hannken Exp $"); #endif /* not lint */ @@ -118,7 +118,6 @@ udf_inactive(void *v) *ap->a_recycle = true; udf_delete_node(udf_node); VOP_UNLOCK(vp); - vrecycle(vp, NULL, curlwp); return 0; } |
