further changes from Rick Macklem
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 28 May 1989 07:32:16 +0000 (23:32 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 28 May 1989 07:32:16 +0000 (23:32 -0800)
SCCS-vsn: sys/sys/mount.h 7.4

usr/src/sys/sys/mount.h

index b598314..a88d259 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.
  *
- *     @(#)mount.h     7.3 (Berkeley) %G%
+ *     @(#)mount.h     7.4 (Berkeley) %G%
  */
 
 typedef quad fsid_t;                   /* file system id type */
  */
 
 typedef quad fsid_t;                   /* file system id type */
@@ -168,10 +168,11 @@ typedef struct fhandle    fhandle_t;
 /*
  * File Handle (32 bytes for version 2), variable up to 1024 for version 3
  */
 /*
  * File Handle (32 bytes for version 2), variable up to 1024 for version 3
  */
-struct nfsv2fh {
-       u_char  fh_bytes[32];
+union nfsv2fh {
+       fhandle_t       fh_generic;
+       u_char          fh_bytes[32];
 };
 };
-typedef struct nfsv2fh nfsv2fh_t;
+typedef union nfsv2fh nfsv2fh_t;
 
 /*
  * Arguments to mount NFS
 
 /*
  * Arguments to mount NFS