diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-03-19 14:54:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 09:31:46 -0400 |
commit | c6bfa1a16377b42496ecc0490a33516c0e414e7b (patch) | |
tree | a45bb649475733474350d1420b6cb1079020b8f2 /fs/nfs/proc.c | |
parent | 34e137cc7e3b63c254875e59cd48dcbe6757fe6c (diff) |
NFS: Remove nfs4_setup_sequence from generic rename code
This is an NFS v4 specific operation, so it belongs in the NFS v4 code
and not the generic client.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 528b9a2fae05..b63b6f4d14fb 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -377,6 +377,11 @@ nfs_proc_rename_setup(struct rpc_message *msg, struct inode *dir) | |||
377 | msg->rpc_proc = &nfs_procedures[NFSPROC_RENAME]; | 377 | msg->rpc_proc = &nfs_procedures[NFSPROC_RENAME]; |
378 | } | 378 | } |
379 | 379 | ||
380 | static void nfs_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) | ||
381 | { | ||
382 | rpc_call_start(task); | ||
383 | } | ||
384 | |||
380 | static int | 385 | static int |
381 | nfs_proc_rename_done(struct rpc_task *task, struct inode *old_dir, | 386 | nfs_proc_rename_done(struct rpc_task *task, struct inode *old_dir, |
382 | struct inode *new_dir) | 387 | struct inode *new_dir) |
@@ -740,6 +745,7 @@ const struct nfs_rpc_ops nfs_v2_clientops = { | |||
740 | .unlink_done = nfs_proc_unlink_done, | 745 | .unlink_done = nfs_proc_unlink_done, |
741 | .rename = nfs_proc_rename, | 746 | .rename = nfs_proc_rename, |
742 | .rename_setup = nfs_proc_rename_setup, | 747 | .rename_setup = nfs_proc_rename_setup, |
748 | .rename_rpc_prepare = nfs_proc_rename_rpc_prepare, | ||
743 | .rename_done = nfs_proc_rename_done, | 749 | .rename_done = nfs_proc_rename_done, |
744 | .link = nfs_proc_link, | 750 | .link = nfs_proc_link, |
745 | .symlink = nfs_proc_symlink, | 751 | .symlink = nfs_proc_symlink, |