diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-08-10 17:45:11 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:18:38 -0400 |
commit | 76b32999dfff6e59252a8af17a5671a4cf3bcf9b (patch) | |
tree | 6494e3a368e120668052e469c08c69a5d8d0b3f4 /include/linux | |
parent | af22f94ae02ab9dd4fd7fe628c8434a59cc293be (diff) |
NFSv4: Make NFSv4 ACCESS calls return attributes too...
It doesn't really make sense to cache an access call without also
revalidating the attributes.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_xdr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index cf74a4db84a5..03032017ffaa 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -538,10 +538,13 @@ typedef u64 clientid4; | |||
538 | 538 | ||
539 | struct nfs4_accessargs { | 539 | struct nfs4_accessargs { |
540 | const struct nfs_fh * fh; | 540 | const struct nfs_fh * fh; |
541 | const u32 * bitmask; | ||
541 | u32 access; | 542 | u32 access; |
542 | }; | 543 | }; |
543 | 544 | ||
544 | struct nfs4_accessres { | 545 | struct nfs4_accessres { |
546 | const struct nfs_server * server; | ||
547 | struct nfs_fattr * fattr; | ||
545 | u32 supported; | 548 | u32 supported; |
546 | u32 access; | 549 | u32 access; |
547 | }; | 550 | }; |