diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_xdr.h | 39 |
1 files changed, 12 insertions, 27 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 6f345f8af4ae..acb95fb27bcc 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -400,6 +400,18 @@ struct nfs_removeres { | |||
400 | }; | 400 | }; |
401 | 401 | ||
402 | /* | 402 | /* |
403 | * Common arguments to the rename call | ||
404 | */ | ||
405 | struct nfs_renameargs { | ||
406 | const struct nfs_fh *old_dir; | ||
407 | const struct nfs_fh *new_dir; | ||
408 | const struct qstr *old_name; | ||
409 | const struct qstr *new_name; | ||
410 | const u32 *bitmask; | ||
411 | struct nfs4_sequence_args seq_args; | ||
412 | }; | ||
413 | |||
414 | /* | ||
403 | * Argument struct for decode_entry function | 415 | * Argument struct for decode_entry function |
404 | */ | 416 | */ |
405 | struct nfs_entry { | 417 | struct nfs_entry { |
@@ -434,15 +446,6 @@ struct nfs_createargs { | |||
434 | struct iattr * sattr; | 446 | struct iattr * sattr; |
435 | }; | 447 | }; |
436 | 448 | ||
437 | struct nfs_renameargs { | ||
438 | struct nfs_fh * fromfh; | ||
439 | const char * fromname; | ||
440 | unsigned int fromlen; | ||
441 | struct nfs_fh * tofh; | ||
442 | const char * toname; | ||
443 | unsigned int tolen; | ||
444 | }; | ||
445 | |||
446 | struct nfs_setattrargs { | 449 | struct nfs_setattrargs { |
447 | struct nfs_fh * fh; | 450 | struct nfs_fh * fh; |
448 | nfs4_stateid stateid; | 451 | nfs4_stateid stateid; |
@@ -586,15 +589,6 @@ struct nfs3_mknodargs { | |||
586 | dev_t rdev; | 589 | dev_t rdev; |
587 | }; | 590 | }; |
588 | 591 | ||
589 | struct nfs3_renameargs { | ||
590 | struct nfs_fh * fromfh; | ||
591 | const char * fromname; | ||
592 | unsigned int fromlen; | ||
593 | struct nfs_fh * tofh; | ||
594 | const char * toname; | ||
595 | unsigned int tolen; | ||
596 | }; | ||
597 | |||
598 | struct nfs3_linkargs { | 592 | struct nfs3_linkargs { |
599 | struct nfs_fh * fromfh; | 593 | struct nfs_fh * fromfh; |
600 | struct nfs_fh * tofh; | 594 | struct nfs_fh * tofh; |
@@ -801,15 +795,6 @@ struct nfs4_readlink_res { | |||
801 | struct nfs4_sequence_res seq_res; | 795 | struct nfs4_sequence_res seq_res; |
802 | }; | 796 | }; |
803 | 797 | ||
804 | struct nfs4_rename_arg { | ||
805 | const struct nfs_fh * old_dir; | ||
806 | const struct nfs_fh * new_dir; | ||
807 | const struct qstr * old_name; | ||
808 | const struct qstr * new_name; | ||
809 | const u32 * bitmask; | ||
810 | struct nfs4_sequence_args seq_args; | ||
811 | }; | ||
812 | |||
813 | struct nfs4_rename_res { | 798 | struct nfs4_rename_res { |
814 | const struct nfs_server * server; | 799 | const struct nfs_server * server; |
815 | struct nfs4_change_info old_cinfo; | 800 | struct nfs4_change_info old_cinfo; |