diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 8d93e688188d..bfd0d1bf6707 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1201,6 +1201,18 @@ struct nfs_unlinkdata { | |||
1201 | struct nfs_fattr dir_attr; | 1201 | struct nfs_fattr dir_attr; |
1202 | }; | 1202 | }; |
1203 | 1203 | ||
1204 | struct nfs_renamedata { | ||
1205 | struct nfs_renameargs args; | ||
1206 | struct nfs_renameres res; | ||
1207 | struct rpc_cred *cred; | ||
1208 | struct inode *old_dir; | ||
1209 | struct dentry *old_dentry; | ||
1210 | struct nfs_fattr old_fattr; | ||
1211 | struct inode *new_dir; | ||
1212 | struct dentry *new_dentry; | ||
1213 | struct nfs_fattr new_fattr; | ||
1214 | }; | ||
1215 | |||
1204 | struct nfs_access_entry; | 1216 | struct nfs_access_entry; |
1205 | struct nfs_client; | 1217 | struct nfs_client; |
1206 | struct rpc_timeout; | 1218 | struct rpc_timeout; |
@@ -1235,6 +1247,7 @@ struct nfs_rpc_ops { | |||
1235 | int (*rename) (struct inode *, struct qstr *, | 1247 | int (*rename) (struct inode *, struct qstr *, |
1236 | struct inode *, struct qstr *); | 1248 | struct inode *, struct qstr *); |
1237 | void (*rename_setup) (struct rpc_message *msg, struct inode *dir); | 1249 | void (*rename_setup) (struct rpc_message *msg, struct inode *dir); |
1250 | void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *); | ||
1238 | int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir); | 1251 | int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir); |
1239 | int (*link) (struct inode *, struct inode *, struct qstr *); | 1252 | int (*link) (struct inode *, struct inode *, struct qstr *); |
1240 | int (*symlink) (struct inode *, struct dentry *, struct page *, | 1253 | int (*symlink) (struct inode *, struct dentry *, struct page *, |