Module Name: src
Committed By: hannken
Date: Fri Feb 14 08:50:27 UTC 2014
Modified Files:
src/sys/fs/union: union.h union_subr.c
Log Message:
Member un_flags is unused now -- remove.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/fs/union/union.h
cvs rdiff -u -r1.61 -r1.62 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.h
diff -u src/sys/fs/union/union.h:1.25 src/sys/fs/union/union.h:1.26
--- src/sys/fs/union/union.h:1.25 Thu Feb 13 09:55:04 2014
+++ src/sys/fs/union/union.h Fri Feb 14 08:50:27 2014
@@ -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 union_node {
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 */
Index: src/sys/fs/union/union_subr.c
diff -u src/sys/fs/union/union_subr.c:1.61 src/sys/fs/union/union_subr.c:1.62
--- src/sys/fs/union/union_subr.c:1.61 Thu Feb 13 09:55:04 2014
+++ src/sys/fs/union/union_subr.c Fri Feb 14 08:50:27 2014
@@ -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 @@ found:
vref(undvp);
un->un_dircache = 0;
un->un_openl = 0;
- un->un_flags = 0;
un->un_cflags = 0;
if (uppervp == NULL) {