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.h34
1 files changed, 33 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 00848d86ffb2..5b115956abac 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -269,9 +269,10 @@ struct nfs4_layoutcommit_data {
269}; 269};
270 270
271struct nfs4_layoutreturn_args { 271struct nfs4_layoutreturn_args {
272 __u32 layout_type; 272 struct pnfs_layout_hdr *layout;
273 struct inode *inode; 273 struct inode *inode;
274 nfs4_stateid stateid; 274 nfs4_stateid stateid;
275 __u32 layout_type;
275 struct nfs4_sequence_args seq_args; 276 struct nfs4_sequence_args seq_args;
276}; 277};
277 278
@@ -1060,6 +1061,7 @@ struct server_scope {
1060struct nfs41_exchange_id_res { 1061struct nfs41_exchange_id_res {
1061 struct nfs_client *client; 1062 struct nfs_client *client;
1062 u32 flags; 1063 u32 flags;
1064 struct server_scope *server_scope;
1063}; 1065};
1064 1066
1065struct nfs41_create_session_args { 1067struct nfs41_create_session_args {
@@ -1083,6 +1085,34 @@ struct nfs41_reclaim_complete_args {
1083struct nfs41_reclaim_complete_res { 1085struct nfs41_reclaim_complete_res {
1084 struct nfs4_sequence_res seq_res; 1086 struct nfs4_sequence_res seq_res;
1085}; 1087};
1088
1089#define SECINFO_STYLE_CURRENT_FH 0
1090#define SECINFO_STYLE_PARENT 1
1091struct nfs41_secinfo_no_name_args {
1092 int style;
1093 struct nfs4_sequence_args seq_args;
1094};
1095
1096struct nfs41_test_stateid_args {
1097 nfs4_stateid *stateid;
1098 struct nfs4_sequence_args seq_args;
1099};
1100
1101struct nfs41_test_stateid_res {
1102 unsigned int status;
1103 struct nfs4_sequence_res seq_res;
1104};
1105
1106struct nfs41_free_stateid_args {
1107 nfs4_stateid *stateid;
1108 struct nfs4_sequence_args seq_args;
1109};
1110
1111struct nfs41_free_stateid_res {
1112 unsigned int status;
1113 struct nfs4_sequence_res seq_res;
1114};
1115
1086#endif /* CONFIG_NFS_V4_1 */ 1116#endif /* CONFIG_NFS_V4_1 */
1087 1117
1088struct nfs_page; 1118struct nfs_page;
@@ -1096,6 +1126,7 @@ struct nfs_read_data {
1096 struct rpc_cred *cred; 1126 struct rpc_cred *cred;
1097 struct nfs_fattr fattr; /* fattr storage */ 1127 struct nfs_fattr fattr; /* fattr storage */
1098 struct list_head pages; /* Coalesced read requests */ 1128 struct list_head pages; /* Coalesced read requests */
1129 struct list_head list; /* lists of struct nfs_read_data */
1099 struct nfs_page *req; /* multi ops per nfs_page */ 1130 struct nfs_page *req; /* multi ops per nfs_page */
1100 struct page **pagevec; 1131 struct page **pagevec;
1101 unsigned int npages; /* Max length of pagevec */ 1132 unsigned int npages; /* Max length of pagevec */
@@ -1119,6 +1150,7 @@ struct nfs_write_data {
1119 struct nfs_fattr fattr; 1150 struct nfs_fattr fattr;
1120 struct nfs_writeverf verf; 1151 struct nfs_writeverf verf;
1121 struct list_head pages; /* Coalesced requests we wish to flush */ 1152 struct list_head pages; /* Coalesced requests we wish to flush */
1153 struct list_head list; /* lists of struct nfs_write_data */
1122 struct nfs_page *req; /* multi ops per nfs_page */ 1154 struct nfs_page *req; /* multi ops per nfs_page */
1123 struct page **pagevec; 1155 struct page **pagevec;
1124 unsigned int npages; /* Max length of pagevec */ 1156 unsigned int npages; /* Max length of pagevec */