diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-03-19 14:54:40 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 09:31:45 -0400 |
commit | ea7c330362257c072791aeaf03bae2cebf9fb984 (patch) | |
tree | 5633ea3278a8ad9b81891bd1fd149af76ad3fe7d /fs/nfs/nfs3proc.c | |
parent | c6cb80d00be42f30716ec817b963bcec094433b5 (diff) |
NFS: Remove nfs4_setup_sequence from generic read 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 3bcf722800f3..9d9b239329dc 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -814,6 +814,11 @@ static void nfs3_proc_read_setup(struct nfs_read_data *data, struct rpc_message | |||
814 | msg->rpc_proc = &nfs3_procedures[NFS3PROC_READ]; | 814 | msg->rpc_proc = &nfs3_procedures[NFS3PROC_READ]; |
815 | } | 815 | } |
816 | 816 | ||
817 | static void nfs3_proc_read_rpc_prepare(struct rpc_task *task, struct nfs_read_data *data) | ||
818 | { | ||
819 | rpc_call_start(task); | ||
820 | } | ||
821 | |||
817 | static int nfs3_write_done(struct rpc_task *task, struct nfs_write_data *data) | 822 | static int nfs3_write_done(struct rpc_task *task, struct nfs_write_data *data) |
818 | { | 823 | { |
819 | if (nfs3_async_handle_jukebox(task, data->inode)) | 824 | if (nfs3_async_handle_jukebox(task, data->inode)) |
@@ -884,6 +889,7 @@ const struct nfs_rpc_ops nfs_v3_clientops = { | |||
884 | .pathconf = nfs3_proc_pathconf, | 889 | .pathconf = nfs3_proc_pathconf, |
885 | .decode_dirent = nfs3_decode_dirent, | 890 | .decode_dirent = nfs3_decode_dirent, |
886 | .read_setup = nfs3_proc_read_setup, | 891 | .read_setup = nfs3_proc_read_setup, |
892 | .read_rpc_prepare = nfs3_proc_read_rpc_prepare, | ||
887 | .read_done = nfs3_read_done, | 893 | .read_done = nfs3_read_done, |
888 | .write_setup = nfs3_proc_write_setup, | 894 | .write_setup = nfs3_proc_write_setup, |
889 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, | 895 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, |