Module Name: src
Committed By: martin
Date: Tue Feb 17 15:09:37 UTC 2015
Modified Files:
src/sys/fs/union [netbsd-7]: union_subr.c
Log Message:
Pull up following revision(s) (requested by hannken in ticket #529):
sys/fs/union/union_subr.c: revision 1.68
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.66 -r1.66.2.1 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.66 src/sys/fs/union/union_subr.c:1.66.2.1
--- src/sys/fs/union/union_subr.c:1.66 Tue Jun 17 12:38:12 2014
+++ src/sys/fs/union/union_subr.c Tue Feb 17 15:09:37 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: union_subr.c,v 1.66 2014/06/17 12:38:12 hannken Exp $ */
+/* $NetBSD: union_subr.c,v 1.66.2.1 2015/02/17 15:09:37 martin Exp $ */
/*
* Copyright (c) 1994
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.66 2014/06/17 12:38:12 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.66.2.1 2015/02/17 15:09:37 martin 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) {