Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/union Remove a superfluous vref(), VOP_CREATE() was c...
details: https://anonhg.NetBSD.org/src/rev/0e45372bd563
branches: trunk
changeset: 336182:0e45372bd563
user: hannken <hannken%NetBSD.org@localhost>
date: Mon Feb 16 10:20:57 2015 +0000
description:
Remove a superfluous vref(), VOP_CREATE() was changed to
keep dvp referenced and locked some time ago.
diffstat:
sys/fs/union/union_subr.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r e0738110a2e8 -r 0e45372bd563 sys/fs/union/union_subr.c
--- a/sys/fs/union/union_subr.c Mon Feb 16 10:19:29 2015 +0000
+++ b/sys/fs/union/union_subr.c Mon Feb 16 10:20:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_subr.c,v 1.67 2014/09/05 09:26:16 matt Exp $ */
+/* $NetBSD: union_subr.c,v 1.68 2015/02/16 10:20:57 hannken Exp $ */
/*
* Copyright (c) 1994
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.67 2014/09/05 09:26:16 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.68 2015/02/16 10:20:57 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -889,7 +889,6 @@
vattr_null(vap);
vap->va_type = VREG;
vap->va_mode = cmode;
- vref(un->un_dirvp);
vp = NULL;
error = VOP_CREATE(un->un_dirvp, &vp, &cn, vap);
if (error) {
Home |
Main Index |
Thread Index |
Old Index