diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 52faf7e96c65..570d630f98ae 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -141,6 +141,7 @@ struct nfs_fsinfo { | |||
141 | __u32 lease_time; /* in seconds */ | 141 | __u32 lease_time; /* in seconds */ |
142 | __u32 layouttype; /* supported pnfs layout driver */ | 142 | __u32 layouttype; /* supported pnfs layout driver */ |
143 | __u32 blksize; /* preferred pnfs io block size */ | 143 | __u32 blksize; /* preferred pnfs io block size */ |
144 | __u32 clone_blksize; /* granularity of a CLONE operation */ | ||
144 | }; | 145 | }; |
145 | 146 | ||
146 | struct nfs_fsstat { | 147 | struct nfs_fsstat { |
@@ -359,6 +360,25 @@ struct nfs42_layoutstat_data { | |||
359 | struct nfs42_layoutstat_res res; | 360 | struct nfs42_layoutstat_res res; |
360 | }; | 361 | }; |
361 | 362 | ||
363 | struct nfs42_clone_args { | ||
364 | struct nfs4_sequence_args seq_args; | ||
365 | struct nfs_fh *src_fh; | ||
366 | struct nfs_fh *dst_fh; | ||
367 | nfs4_stateid src_stateid; | ||
368 | nfs4_stateid dst_stateid; | ||
369 | __u64 src_offset; | ||
370 | __u64 dst_offset; | ||
371 | __u64 count; | ||
372 | const u32 *dst_bitmask; | ||
373 | }; | ||
374 | |||
375 | struct nfs42_clone_res { | ||
376 | struct nfs4_sequence_res seq_res; | ||
377 | unsigned int rpc_status; | ||
378 | struct nfs_fattr *dst_fattr; | ||
379 | const struct nfs_server *server; | ||
380 | }; | ||
381 | |||
362 | struct stateowner_id { | 382 | struct stateowner_id { |
363 | __u64 create_time; | 383 | __u64 create_time; |
364 | __u32 uniquifier; | 384 | __u32 uniquifier; |
@@ -528,7 +548,7 @@ struct nfs4_delegreturnargs { | |||
528 | struct nfs4_delegreturnres { | 548 | struct nfs4_delegreturnres { |
529 | struct nfs4_sequence_res seq_res; | 549 | struct nfs4_sequence_res seq_res; |
530 | struct nfs_fattr * fattr; | 550 | struct nfs_fattr * fattr; |
531 | const struct nfs_server *server; | 551 | struct nfs_server *server; |
532 | }; | 552 | }; |
533 | 553 | ||
534 | /* | 554 | /* |
@@ -601,7 +621,7 @@ struct nfs_removeargs { | |||
601 | 621 | ||
602 | struct nfs_removeres { | 622 | struct nfs_removeres { |
603 | struct nfs4_sequence_res seq_res; | 623 | struct nfs4_sequence_res seq_res; |
604 | const struct nfs_server *server; | 624 | struct nfs_server *server; |
605 | struct nfs_fattr *dir_attr; | 625 | struct nfs_fattr *dir_attr; |
606 | struct nfs4_change_info cinfo; | 626 | struct nfs4_change_info cinfo; |
607 | }; | 627 | }; |
@@ -619,7 +639,7 @@ struct nfs_renameargs { | |||
619 | 639 | ||
620 | struct nfs_renameres { | 640 | struct nfs_renameres { |
621 | struct nfs4_sequence_res seq_res; | 641 | struct nfs4_sequence_res seq_res; |
622 | const struct nfs_server *server; | 642 | struct nfs_server *server; |
623 | struct nfs4_change_info old_cinfo; | 643 | struct nfs4_change_info old_cinfo; |
624 | struct nfs_fattr *old_fattr; | 644 | struct nfs_fattr *old_fattr; |
625 | struct nfs4_change_info new_cinfo; | 645 | struct nfs4_change_info new_cinfo; |
@@ -685,7 +705,6 @@ struct nfs_setaclargs { | |||
685 | struct nfs4_sequence_args seq_args; | 705 | struct nfs4_sequence_args seq_args; |
686 | struct nfs_fh * fh; | 706 | struct nfs_fh * fh; |
687 | size_t acl_len; | 707 | size_t acl_len; |
688 | unsigned int acl_pgbase; | ||
689 | struct page ** acl_pages; | 708 | struct page ** acl_pages; |
690 | }; | 709 | }; |
691 | 710 | ||
@@ -697,7 +716,6 @@ struct nfs_getaclargs { | |||
697 | struct nfs4_sequence_args seq_args; | 716 | struct nfs4_sequence_args seq_args; |
698 | struct nfs_fh * fh; | 717 | struct nfs_fh * fh; |
699 | size_t acl_len; | 718 | size_t acl_len; |
700 | unsigned int acl_pgbase; | ||
701 | struct page ** acl_pages; | 719 | struct page ** acl_pages; |
702 | }; | 720 | }; |
703 | 721 | ||