Module Name: src
Committed By: hannken
Date: Mon Feb 16 10:20:57 UTC 2015
Modified Files:
src/sys/fs/union: union_subr.c
Log Message:
Remove a superfluous vref(), VOP_CREATE() was changed to
keep dvp referenced and locked some time ago.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/fs/union/union_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/union/union_subr.c
diff -u src/sys/fs/union/union_subr.c:1.67 src/sys/fs/union/union_subr.c:1.68
--- src/sys/fs/union/union_subr.c:1.67 Fri Sep 5 09:26:16 2014
+++ src/sys/fs/union/union_subr.c Mon Feb 16 10:20:57 2015
@@ -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 @@ union_vn_create(struct vnode **vpp, stru
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) {