diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
| -rw-r--r-- | include/linux/nfs_xdr.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 467c84efb596..38d96ba935c2 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
| @@ -285,6 +285,7 @@ struct nfs4_layoutcommit_data { | |||
| 285 | struct nfs_fattr fattr; | 285 | struct nfs_fattr fattr; |
| 286 | struct list_head lseg_list; | 286 | struct list_head lseg_list; |
| 287 | struct rpc_cred *cred; | 287 | struct rpc_cred *cred; |
| 288 | struct inode *inode; | ||
| 288 | struct nfs4_layoutcommit_args args; | 289 | struct nfs4_layoutcommit_args args; |
| 289 | struct nfs4_layoutcommit_res res; | 290 | struct nfs4_layoutcommit_res res; |
| 290 | }; | 291 | }; |
| @@ -293,6 +294,7 @@ struct nfs4_layoutreturn_args { | |||
| 293 | struct nfs4_sequence_args seq_args; | 294 | struct nfs4_sequence_args seq_args; |
| 294 | struct pnfs_layout_hdr *layout; | 295 | struct pnfs_layout_hdr *layout; |
| 295 | struct inode *inode; | 296 | struct inode *inode; |
| 297 | struct pnfs_layout_range range; | ||
| 296 | nfs4_stateid stateid; | 298 | nfs4_stateid stateid; |
| 297 | __u32 layout_type; | 299 | __u32 layout_type; |
| 298 | }; | 300 | }; |
| @@ -308,6 +310,7 @@ struct nfs4_layoutreturn { | |||
| 308 | struct nfs4_layoutreturn_res res; | 310 | struct nfs4_layoutreturn_res res; |
| 309 | struct rpc_cred *cred; | 311 | struct rpc_cred *cred; |
| 310 | struct nfs_client *clp; | 312 | struct nfs_client *clp; |
| 313 | struct inode *inode; | ||
| 311 | int rpc_status; | 314 | int rpc_status; |
| 312 | }; | 315 | }; |
| 313 | 316 | ||
| @@ -325,6 +328,7 @@ struct nfs_openargs { | |||
| 325 | struct nfs_seqid * seqid; | 328 | struct nfs_seqid * seqid; |
| 326 | int open_flags; | 329 | int open_flags; |
| 327 | fmode_t fmode; | 330 | fmode_t fmode; |
| 331 | u32 share_access; | ||
| 328 | u32 access; | 332 | u32 access; |
| 329 | __u64 clientid; | 333 | __u64 clientid; |
| 330 | struct stateowner_id id; | 334 | struct stateowner_id id; |
| @@ -389,9 +393,10 @@ struct nfs_open_confirmres { | |||
| 389 | struct nfs_closeargs { | 393 | struct nfs_closeargs { |
| 390 | struct nfs4_sequence_args seq_args; | 394 | struct nfs4_sequence_args seq_args; |
| 391 | struct nfs_fh * fh; | 395 | struct nfs_fh * fh; |
| 392 | nfs4_stateid * stateid; | 396 | nfs4_stateid stateid; |
| 393 | struct nfs_seqid * seqid; | 397 | struct nfs_seqid * seqid; |
| 394 | fmode_t fmode; | 398 | fmode_t fmode; |
| 399 | u32 share_access; | ||
| 395 | const u32 * bitmask; | 400 | const u32 * bitmask; |
| 396 | }; | 401 | }; |
| 397 | 402 | ||
| @@ -416,12 +421,13 @@ struct nfs_lock_args { | |||
| 416 | struct nfs_fh * fh; | 421 | struct nfs_fh * fh; |
| 417 | struct file_lock * fl; | 422 | struct file_lock * fl; |
| 418 | struct nfs_seqid * lock_seqid; | 423 | struct nfs_seqid * lock_seqid; |
| 419 | nfs4_stateid * lock_stateid; | 424 | nfs4_stateid lock_stateid; |
| 420 | struct nfs_seqid * open_seqid; | 425 | struct nfs_seqid * open_seqid; |
| 421 | nfs4_stateid * open_stateid; | 426 | nfs4_stateid open_stateid; |
| 422 | struct nfs_lowner lock_owner; | 427 | struct nfs_lowner lock_owner; |
| 423 | unsigned char block : 1; | 428 | unsigned char block : 1; |
| 424 | unsigned char reclaim : 1; | 429 | unsigned char reclaim : 1; |
| 430 | unsigned char new_lock : 1; | ||
| 425 | unsigned char new_lock_owner : 1; | 431 | unsigned char new_lock_owner : 1; |
| 426 | }; | 432 | }; |
| 427 | 433 | ||
| @@ -437,7 +443,7 @@ struct nfs_locku_args { | |||
| 437 | struct nfs_fh * fh; | 443 | struct nfs_fh * fh; |
| 438 | struct file_lock * fl; | 444 | struct file_lock * fl; |
| 439 | struct nfs_seqid * seqid; | 445 | struct nfs_seqid * seqid; |
| 440 | nfs4_stateid * stateid; | 446 | nfs4_stateid stateid; |
| 441 | }; | 447 | }; |
| 442 | 448 | ||
| 443 | struct nfs_locku_res { | 449 | struct nfs_locku_res { |
| @@ -513,6 +519,7 @@ struct nfs_pgio_res { | |||
| 513 | struct nfs4_sequence_res seq_res; | 519 | struct nfs4_sequence_res seq_res; |
| 514 | struct nfs_fattr * fattr; | 520 | struct nfs_fattr * fattr; |
| 515 | __u32 count; | 521 | __u32 count; |
| 522 | __u32 op_status; | ||
| 516 | int eof; /* used by read */ | 523 | int eof; /* used by read */ |
| 517 | struct nfs_writeverf * verf; /* used by write */ | 524 | struct nfs_writeverf * verf; /* used by write */ |
| 518 | const struct nfs_server *server; /* used by write */ | 525 | const struct nfs_server *server; /* used by write */ |
| @@ -532,6 +539,7 @@ struct nfs_commitargs { | |||
| 532 | 539 | ||
| 533 | struct nfs_commitres { | 540 | struct nfs_commitres { |
| 534 | struct nfs4_sequence_res seq_res; | 541 | struct nfs4_sequence_res seq_res; |
| 542 | __u32 op_status; | ||
| 535 | struct nfs_fattr *fattr; | 543 | struct nfs_fattr *fattr; |
| 536 | struct nfs_writeverf *verf; | 544 | struct nfs_writeverf *verf; |
| 537 | const struct nfs_server *server; | 545 | const struct nfs_server *server; |
| @@ -1325,7 +1333,8 @@ struct nfs_pgio_header { | |||
| 1325 | __u64 mds_offset; /* Filelayout dense stripe */ | 1333 | __u64 mds_offset; /* Filelayout dense stripe */ |
| 1326 | struct nfs_page_array page_array; | 1334 | struct nfs_page_array page_array; |
| 1327 | struct nfs_client *ds_clp; /* pNFS data server */ | 1335 | struct nfs_client *ds_clp; /* pNFS data server */ |
| 1328 | int ds_idx; /* ds index if ds_clp is set */ | 1336 | int ds_commit_idx; /* ds index if ds_clp is set */ |
| 1337 | int pgio_mirror_idx;/* mirror index in pgio layer */ | ||
| 1329 | }; | 1338 | }; |
| 1330 | 1339 | ||
| 1331 | struct nfs_mds_commit_info { | 1340 | struct nfs_mds_commit_info { |
