return file flags and generation number
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Jun 1989 08:55:57 +0000 (00:55 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 7 Jun 1989 08:55:57 +0000 (00:55 -0800)
SCCS-vsn: sys/sys/vnode.h 7.2

usr/src/sys/sys/vnode.h

index 2d4a765..3c8719c 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)vnode.h     7.1 (Berkeley) %G%
+ *     @(#)vnode.h     7.2 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -158,6 +158,8 @@ struct vattr {
        struct timeval  va_atime;       /* time of last access */
        struct timeval  va_mtime;       /* time of last modification */
        struct timeval  va_ctime;       /* time file changed */
        struct timeval  va_atime;       /* time of last access */
        struct timeval  va_mtime;       /* time of last modification */
        struct timeval  va_ctime;       /* time file changed */
+       u_long          va_gen;         /* generation number of file */
+       u_long          va_flags;       /* flags defined for file */
        dev_t           va_rdev;        /* device the special file represents */
        u_long          va_bytes;       /* bytes of disk space held by file */
        u_long          va_bytes1;      /* reserved if va_bytes not a quad */
        dev_t           va_rdev;        /* device the special file represents */
        u_long          va_bytes;       /* bytes of disk space held by file */
        u_long          va_bytes1;      /* reserved if va_bytes not a quad */