Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/fs/union Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/c6a6192d872e
branches:  netbsd-7
changeset: 799002:c6a6192d872e
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 17 15:09:37 2015 +0000

description:
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.

diffstat:

 sys/fs/union/union_subr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 33f290636e18 -r c6a6192d872e sys/fs/union/union_subr.c
--- a/sys/fs/union/union_subr.c Tue Feb 17 15:06:07 2015 +0000
+++ b/sys/fs/union/union_subr.c Tue Feb 17 15:09:37 2015 +0000
@@ -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 @@
        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