diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2005-06-22 13:16:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:13 -0400 |
commit | 23ec6965c20db96bc8ea7af0ec178f074dd31c40 (patch) | |
tree | 0d94c6a7662afe088252050a0778cd52e096ba95 /include/linux | |
parent | aa1870af92d8f6d6db0883696516a83ff2b695a6 (diff) |
[PATCH] NFSv4: Client-side xdr for writing NFSv4 acls
Client-side support for NFSv4 acls: xdr encoding and decoding routines for
writing acls
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs4.h | 1 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 6ee7e2585af5..5bb5b2fd7ba2 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h | |||
@@ -383,6 +383,7 @@ enum { | |||
383 | NFSPROC4_CLNT_SERVER_CAPS, | 383 | NFSPROC4_CLNT_SERVER_CAPS, |
384 | NFSPROC4_CLNT_DELEGRETURN, | 384 | NFSPROC4_CLNT_DELEGRETURN, |
385 | NFSPROC4_CLNT_GETACL, | 385 | NFSPROC4_CLNT_GETACL, |
386 | NFSPROC4_CLNT_SETACL, | ||
386 | }; | 387 | }; |
387 | 388 | ||
388 | #endif | 389 | #endif |
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 9f5e1d407c7b..46b206b460c0 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -326,6 +326,13 @@ struct nfs_setattrargs { | |||
326 | const u32 * bitmask; | 326 | const u32 * bitmask; |
327 | }; | 327 | }; |
328 | 328 | ||
329 | struct nfs_setaclargs { | ||
330 | struct nfs_fh * fh; | ||
331 | size_t acl_len; | ||
332 | unsigned int acl_pgbase; | ||
333 | struct page ** acl_pages; | ||
334 | }; | ||
335 | |||
329 | struct nfs_getaclargs { | 336 | struct nfs_getaclargs { |
330 | struct nfs_fh * fh; | 337 | struct nfs_fh * fh; |
331 | size_t acl_len; | 338 | size_t acl_len; |