diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 46b206b460c0..a2bf6914ff1b 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _LINUX_NFS_XDR_H | 2 | #define _LINUX_NFS_XDR_H |
3 | 3 | ||
4 | #include <linux/sunrpc/xprt.h> | 4 | #include <linux/sunrpc/xprt.h> |
5 | #include <linux/nfsacl.h> | ||
5 | 6 | ||
6 | struct nfs4_fsid { | 7 | struct nfs4_fsid { |
7 | __u64 major; | 8 | __u64 major; |
@@ -368,6 +369,20 @@ struct nfs_readdirargs { | |||
368 | struct page ** pages; | 369 | struct page ** pages; |
369 | }; | 370 | }; |
370 | 371 | ||
372 | struct nfs3_getaclargs { | ||
373 | struct nfs_fh * fh; | ||
374 | int mask; | ||
375 | struct page ** pages; | ||
376 | }; | ||
377 | |||
378 | struct nfs3_setaclargs { | ||
379 | struct inode * inode; | ||
380 | int mask; | ||
381 | struct posix_acl * acl_access; | ||
382 | struct posix_acl * acl_default; | ||
383 | struct page ** pages; | ||
384 | }; | ||
385 | |||
371 | struct nfs_diropok { | 386 | struct nfs_diropok { |
372 | struct nfs_fh * fh; | 387 | struct nfs_fh * fh; |
373 | struct nfs_fattr * fattr; | 388 | struct nfs_fattr * fattr; |
@@ -491,6 +506,15 @@ struct nfs3_readdirres { | |||
491 | int plus; | 506 | int plus; |
492 | }; | 507 | }; |
493 | 508 | ||
509 | struct nfs3_getaclres { | ||
510 | struct nfs_fattr * fattr; | ||
511 | int mask; | ||
512 | unsigned int acl_access_count; | ||
513 | unsigned int acl_default_count; | ||
514 | struct posix_acl * acl_access; | ||
515 | struct posix_acl * acl_default; | ||
516 | }; | ||
517 | |||
494 | #ifdef CONFIG_NFS_V4 | 518 | #ifdef CONFIG_NFS_V4 |
495 | 519 | ||
496 | typedef u64 clientid4; | 520 | typedef u64 clientid4; |
@@ -748,4 +772,7 @@ extern struct rpc_version nfs_version2; | |||
748 | extern struct rpc_version nfs_version3; | 772 | extern struct rpc_version nfs_version3; |
749 | extern struct rpc_version nfs_version4; | 773 | extern struct rpc_version nfs_version4; |
750 | 774 | ||
775 | extern struct rpc_version nfsacl_version3; | ||
776 | extern struct rpc_program nfsacl_program; | ||
777 | |||
751 | #endif | 778 | #endif |