diff options
| author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2002-10-09 22:48:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-09 22:48:08 -0700 |
| commit | 61e6f97593d43b8d2a5106f0b4d8527c3b4407b4 (patch) | |
| tree | 6565046025879215e365952e2866998679b4b4a0 /include/linux | |
| parent | c22994ae1ca687385496ca7ef75647d57e2b8327 (diff) | |
[PATCH] A basic NFSv4 client for 2.5.x
In NFSv4, an fsid is a 64-bit major number together with a 64-bit
minor number. In previous versions, an fsid is a single number.
This patch changes 'struct nfs_fattr' accordingly.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_xdr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 5f6b8b84e37f..ce871934f6e5 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -24,7 +24,13 @@ struct nfs_fattr { } nfs3; } du; __u32 rdev; - __u64 fsid; + union { + __u64 nfs3; /* also nfs2 */ + struct { + __u64 major; + __u64 minor; + } nfs4; + } fsid_u; __u64 fileid; __u64 atime; __u64 mtime; |
