diff options
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 2be4a7f59f1c..6dc4ef66f074 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -442,13 +442,11 @@ static int | |||
442 | nfs3_proc_rename(struct inode *old_dir, struct qstr *old_name, | 442 | nfs3_proc_rename(struct inode *old_dir, struct qstr *old_name, |
443 | struct inode *new_dir, struct qstr *new_name) | 443 | struct inode *new_dir, struct qstr *new_name) |
444 | { | 444 | { |
445 | struct nfs3_renameargs arg = { | 445 | struct nfs_renameargs arg = { |
446 | .fromfh = NFS_FH(old_dir), | 446 | .old_dir = NFS_FH(old_dir), |
447 | .fromname = old_name->name, | 447 | .old_name = old_name, |
448 | .fromlen = old_name->len, | 448 | .new_dir = NFS_FH(new_dir), |
449 | .tofh = NFS_FH(new_dir), | 449 | .new_name = new_name, |
450 | .toname = new_name->name, | ||
451 | .tolen = new_name->len | ||
452 | }; | 450 | }; |
453 | struct nfs3_renameres res; | 451 | struct nfs3_renameres res; |
454 | struct rpc_message msg = { | 452 | struct rpc_message msg = { |