aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3proc.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-03-19 14:54:39 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-21 09:31:45 -0400
commitc6cb80d00be42f30716ec817b963bcec094433b5 (patch)
tree8049071fc2c5f01a730eb47bfa95ee095ce677df /fs/nfs/nfs3proc.c
parent6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (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/nfs3proc.c')
-rw-r--r--fs/nfs/nfs3proc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index 91943953a370..3bcf722800f3 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -828,6 +828,11 @@ static void nfs3_proc_write_setup(struct nfs_write_data *data, struct rpc_messag
828 msg->rpc_proc = &nfs3_procedures[NFS3PROC_WRITE]; 828 msg->rpc_proc = &nfs3_procedures[NFS3PROC_WRITE];
829} 829}
830 830
831static void nfs3_proc_write_rpc_prepare(struct rpc_task *task, struct nfs_write_data *data)
832{
833 rpc_call_start(task);
834}
835
831static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data) 836static int nfs3_commit_done(struct rpc_task *task, struct nfs_write_data *data)
832{ 837{
833 if (nfs3_async_handle_jukebox(task, data->inode)) 838 if (nfs3_async_handle_jukebox(task, data->inode))
@@ -881,6 +886,7 @@ const struct nfs_rpc_ops nfs_v3_clientops = {
881 .read_setup = nfs3_proc_read_setup, 886 .read_setup = nfs3_proc_read_setup,
882 .read_done = nfs3_read_done, 887 .read_done = nfs3_read_done,
883 .write_setup = nfs3_proc_write_setup, 888 .write_setup = nfs3_proc_write_setup,
889 .write_rpc_prepare = nfs3_proc_write_rpc_prepare,
884 .write_done = nfs3_write_done, 890 .write_done = nfs3_write_done,
885 .commit_setup = nfs3_proc_commit_setup, 891 .commit_setup = nfs3_proc_commit_setup,
886 .commit_done = nfs3_commit_done, 892 .commit_done = nfs3_commit_done,