|
@@ -399,6 +399,18 @@ struct nfs_removeres {
|
|
|
struct nfs4_sequence_res seq_res;
|
|
|
};
|
|
|
|
|
|
+/*
|
|
|
+ * Common arguments to the rename call
|
|
|
+ */
|
|
|
+struct nfs_renameargs {
|
|
|
+ const struct nfs_fh *old_dir;
|
|
|
+ const struct nfs_fh *new_dir;
|
|
|
+ const struct qstr *old_name;
|
|
|
+ const struct qstr *new_name;
|
|
|
+ const u32 *bitmask;
|
|
|
+ struct nfs4_sequence_args seq_args;
|
|
|
+};
|
|
|
+
|
|
|
/*
|
|
|
* Argument struct for decode_entry function
|
|
|
*/
|
|
@@ -434,15 +446,6 @@ struct nfs_createargs {
|
|
|
struct iattr * sattr;
|
|
|
};
|
|
|
|
|
|
-struct nfs_renameargs {
|
|
|
- struct nfs_fh * fromfh;
|
|
|
- const char * fromname;
|
|
|
- unsigned int fromlen;
|
|
|
- struct nfs_fh * tofh;
|
|
|
- const char * toname;
|
|
|
- unsigned int tolen;
|
|
|
-};
|
|
|
-
|
|
|
struct nfs_setattrargs {
|
|
|
struct nfs_fh * fh;
|
|
|
nfs4_stateid stateid;
|
|
@@ -586,15 +589,6 @@ struct nfs3_mknodargs {
|
|
|
dev_t rdev;
|
|
|
};
|
|
|
|
|
|
-struct nfs3_renameargs {
|
|
|
- struct nfs_fh * fromfh;
|
|
|
- const char * fromname;
|
|
|
- unsigned int fromlen;
|
|
|
- struct nfs_fh * tofh;
|
|
|
- const char * toname;
|
|
|
- unsigned int tolen;
|
|
|
-};
|
|
|
-
|
|
|
struct nfs3_linkargs {
|
|
|
struct nfs_fh * fromfh;
|
|
|
struct nfs_fh * tofh;
|
|
@@ -801,15 +795,6 @@ struct nfs4_readlink_res {
|
|
|
struct nfs4_sequence_res seq_res;
|
|
|
};
|
|
|
|
|
|
-struct nfs4_rename_arg {
|
|
|
- const struct nfs_fh * old_dir;
|
|
|
- const struct nfs_fh * new_dir;
|
|
|
- const struct qstr * old_name;
|
|
|
- const struct qstr * new_name;
|
|
|
- const u32 * bitmask;
|
|
|
- struct nfs4_sequence_args seq_args;
|
|
|
-};
|
|
|
-
|
|
|
struct nfs4_rename_res {
|
|
|
const struct nfs_server * server;
|
|
|
struct nfs4_change_info old_cinfo;
|