Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/union Member un_flags is unused now -- remove.



details:   https://anonhg.NetBSD.org/src/rev/47cce5531bdf
branches:  trunk
changeset: 326711:47cce5531bdf
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Feb 14 08:50:27 2014 +0000

description:
Member un_flags is unused now -- remove.

diffstat:

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

diffs (43 lines):

diff -r 6103a40064a4 -r 47cce5531bdf sys/fs/union/union.h
--- a/sys/fs/union/union.h      Fri Feb 14 07:30:07 2014 +0000
+++ b/sys/fs/union/union.h      Fri Feb 14 08:50:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: union.h,v 1.25 2014/02/13 09:55:04 hannken Exp $       */
+/*     $NetBSD: union.h,v 1.26 2014/02/14 08:50:27 hannken Exp $       */
 
 /*
  * Copyright (c) 1994 The Regents of the University of California.
@@ -127,7 +127,6 @@
        struct vnode            *un_pvp;        /* v: Parent vnode */
        char                    *un_path;       /* v: saved component name */
        int                     un_openl;       /* v: # of opens on lowervp */
-       unsigned int            un_flags;       /* v: node flags */
        unsigned int            un_cflags;      /* c: cache flags */
        struct vnode            **un_dircache;  /* v: cached union stack */
        off_t                   un_uppersz;     /* l: size of upper object */
diff -r 6103a40064a4 -r 47cce5531bdf sys/fs/union/union_subr.c
--- a/sys/fs/union/union_subr.c Fri Feb 14 07:30:07 2014 +0000
+++ b/sys/fs/union/union_subr.c Fri Feb 14 08:50:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: union_subr.c,v 1.61 2014/02/13 09:55:04 hannken Exp $  */
+/*     $NetBSD: union_subr.c,v 1.62 2014/02/14 08:50:27 hannken Exp $  */
 
 /*
  * Copyright (c) 1994
@@ -72,7 +72,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.61 2014/02/13 09:55:04 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_subr.c,v 1.62 2014/02/14 08:50:27 hannken Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -550,7 +550,6 @@
                vref(undvp);
        un->un_dircache = 0;
        un->un_openl = 0;
-       un->un_flags = 0;
        un->un_cflags = 0;
 
        if (uppervp == NULL) {



Home | Main Index | Thread Index | Old Index