aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2005-06-22 13:16:22 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:12 -0400
commit029d105e66e5a90850d5a09dad76815d0bcfcaa3 (patch)
tree936855da358d98a645e7984b7c957b8f73d4bd4f /include/linux
parent96928206961be05f22c3839f0097b610cc485b5d (diff)
[PATCH] NFSv4: Client-side xdr for reading NFSv4 acls
Client-side support for NFSv4 acls: xdr encoding and decoding routines for reading 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.h1
-rw-r--r--include/linux/nfs_xdr.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index 5ca8a8d8ccdf..6ee7e2585af5 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -382,6 +382,7 @@ enum {
382 NFSPROC4_CLNT_READDIR, 382 NFSPROC4_CLNT_READDIR,
383 NFSPROC4_CLNT_SERVER_CAPS, 383 NFSPROC4_CLNT_SERVER_CAPS,
384 NFSPROC4_CLNT_DELEGRETURN, 384 NFSPROC4_CLNT_DELEGRETURN,
385 NFSPROC4_CLNT_GETACL,
385}; 386};
386 387
387#endif 388#endif
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index cf38db59f347..9f5e1d407c7b 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
329struct nfs_getaclargs {
330 struct nfs_fh * fh;
331 size_t acl_len;
332 unsigned int acl_pgbase;
333 struct page ** acl_pages;
334};
335
329struct nfs_setattrres { 336struct nfs_setattrres {
330 struct nfs_fattr * fattr; 337 struct nfs_fattr * fattr;
331 const struct nfs_server * server; 338 const struct nfs_server * server;