diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-03-19 14:54:39 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 09:31:45 -0400 |
commit | c6cb80d00be42f30716ec817b963bcec094433b5 (patch) | |
tree | 8049071fc2c5f01a730eb47bfa95ee095ce677df /fs/nfs/proc.c | |
parent | 6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (diff) |
NFS: Remove nfs4_setup_sequence from generic write 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 0c672588fe5a..8069b41e7f2d 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -668,6 +668,11 @@ static void nfs_proc_write_setup(struct nfs_write_data *data, struct rpc_message | |||
668 | msg->rpc_proc = &nfs_procedures[NFSPROC_WRITE]; | 668 | msg->rpc_proc = &nfs_procedures[NFSPROC_WRITE]; |
669 | } | 669 | } |
670 | 670 | ||
671 | static void nfs_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data) | ||
672 | { | ||
673 | rpc_call_start(task); | ||
674 | } | ||
675 | |||
671 | static void | 676 | static void |
672 | nfs_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) | 677 | nfs_proc_commit_setup(struct nfs_write_data *data, struct rpc_message *msg) |
673 | { | 678 | { |
@@ -738,6 +743,7 @@ const struct nfs_rpc_ops nfs_v2_clientops = { | |||
738 | .read_setup = nfs_proc_read_setup, | 743 | .read_setup = nfs_proc_read_setup, |
739 | .read_done = nfs_read_done, | 744 | .read_done = nfs_read_done, |
740 | .write_setup = nfs_proc_write_setup, | 745 | .write_setup = nfs_proc_write_setup, |
746 | .write_rpc_prepare = nfs_proc_write_rpc_prepare, | ||
741 | .write_done = nfs_write_done, | 747 | .write_done = nfs_write_done, |
742 | .commit_setup = nfs_proc_commit_setup, | 748 | .commit_setup = nfs_proc_commit_setup, |
743 | .lock = nfs_proc_lock, | 749 | .lock = nfs_proc_lock, |