add caching flag
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 28 Apr 1994 21:31:12 +0000 (13:31 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 28 Apr 1994 21:31:12 +0000 (13:31 -0800)
SCCS-vsn: sys/miscfs/union/union.h 8.3

usr/src/sys/miscfs/union/union.h

index 7a51c07..f60545f 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)union.h     8.2 (Berkeley) %G%
+ *     @(#)union.h     8.3 (Berkeley) %G%
  */
 
 struct union_args {
  */
 
 struct union_args {
@@ -51,7 +51,7 @@ struct union_node {
        char                    *un_path;       /* saved component name */
        int                     un_hash;        /* saved un_path hash value */
        int                     un_openl;       /* # of opens on lowervp */
        char                    *un_path;       /* saved component name */
        int                     un_hash;        /* saved un_path hash value */
        int                     un_openl;       /* # of opens on lowervp */
-       int                     un_flags;
+       unsigned int            un_flags;
 #ifdef DIAGNOSTIC
        pid_t                   un_pid;
 #endif
 #ifdef DIAGNOSTIC
        pid_t                   un_pid;
 #endif
@@ -61,6 +61,7 @@ struct union_node {
 #define UN_LOCKED      0x02
 #define UN_ULOCK       0x04            /* Upper node is locked */
 #define UN_KLOCK       0x08            /* Keep upper node locked on vput */
 #define UN_LOCKED      0x02
 #define UN_ULOCK       0x04            /* Upper node is locked */
 #define UN_KLOCK       0x08            /* Keep upper node locked on vput */
+#define UN_CACHED      0x10            /* In union cache */
 
 extern int union_allocvp __P((struct vnode **, struct mount *,
                                struct vnode *, struct vnode *,
 
 extern int union_allocvp __P((struct vnode **, struct mount *,
                                struct vnode *, struct vnode *,