diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-03-19 14:54:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 09:31:46 -0400 |
commit | 34e137cc7e3b63c254875e59cd48dcbe6757fe6c (patch) | |
tree | ea509e7f715bcbf2fd3541062063348f547e6c6c /fs/nfs/nfs3proc.c | |
parent | ea7c330362257c072791aeaf03bae2cebf9fb984 (diff) |
NFS: Remove nfs4_setup_sequence from generic unlink 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/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index 9d9b239329dc..7f3f957f677c 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -428,6 +428,11 @@ nfs3_proc_unlink_setup(struct rpc_message *msg, struct inode *dir) | |||
428 | msg->rpc_proc = &nfs3_procedures[NFS3PROC_REMOVE]; | 428 | msg->rpc_proc = &nfs3_procedures[NFS3PROC_REMOVE]; |
429 | } | 429 | } |
430 | 430 | ||
431 | static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) | ||
432 | { | ||
433 | rpc_call_start(task); | ||
434 | } | ||
435 | |||
431 | static int | 436 | static int |
432 | nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) | 437 | nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) |
433 | { | 438 | { |
@@ -874,6 +879,7 @@ const struct nfs_rpc_ops nfs_v3_clientops = { | |||
874 | .create = nfs3_proc_create, | 879 | .create = nfs3_proc_create, |
875 | .remove = nfs3_proc_remove, | 880 | .remove = nfs3_proc_remove, |
876 | .unlink_setup = nfs3_proc_unlink_setup, | 881 | .unlink_setup = nfs3_proc_unlink_setup, |
882 | .unlink_rpc_prepare = nfs3_proc_unlink_rpc_prepare, | ||
877 | .unlink_done = nfs3_proc_unlink_done, | 883 | .unlink_done = nfs3_proc_unlink_done, |
878 | .rename = nfs3_proc_rename, | 884 | .rename = nfs3_proc_rename, |
879 | .rename_setup = nfs3_proc_rename_setup, | 885 | .rename_setup = nfs3_proc_rename_setup, |