aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 4ac14b40efc..5d70b924af5 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -879,6 +879,46 @@ struct nfs4_fs_locations_res {
879 879
880#endif /* CONFIG_NFS_V4 */ 880#endif /* CONFIG_NFS_V4 */
881 881
882struct nfstime4 {
883 u64 seconds;
884 u32 nseconds;
885};
886
887#ifdef CONFIG_NFS_V4_1
888struct nfs_impl_id4 {
889 u32 domain_len;
890 char *domain;
891 u32 name_len;
892 char *name;
893 struct nfstime4 date;
894};
895
896#define NFS4_EXCHANGE_ID_LEN (48)
897struct nfs41_exchange_id_args {
898 struct nfs_client *client;
899 nfs4_verifier *verifier;
900 unsigned int id_len;
901 char id[NFS4_EXCHANGE_ID_LEN];
902 u32 flags;
903};
904
905struct server_owner {
906 uint64_t minor_id;
907 uint32_t major_id_sz;
908 char major_id[NFS4_OPAQUE_LIMIT];
909};
910
911struct server_scope {
912 uint32_t server_scope_sz;
913 char server_scope[NFS4_OPAQUE_LIMIT];
914};
915
916struct nfs41_exchange_id_res {
917 struct nfs_client *client;
918 u32 flags;
919};
920#endif /* CONFIG_NFS_V4_1 */
921
882struct nfs_page; 922struct nfs_page;
883 923
884#define NFS_PAGEVEC_SIZE (8U) 924#define NFS_PAGEVEC_SIZE (8U)