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/proc.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/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 8069b41e7f2d..a8df70742d00 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -651,6 +651,11 @@ static void nfs_proc_read_setup(struct nfs_read_data *data, struct rpc_message * | |||
651 | msg->rpc_proc = &nfs_procedures[NFSPROC_READ]; | 651 | msg->rpc_proc = &nfs_procedures[NFSPROC_READ]; |
652 | } | 652 | } |
653 | 653 | ||
654 | static void nfs_proc_read_rpc_prepare(struct rpc_task *task, struct nfs_read_data *data) | ||
655 | { | ||
656 | rpc_call_start(task); | ||
657 | } | ||
658 | |||
654 | static int nfs_write_done(struct rpc_task *task, struct nfs_write_data *data) | 659 | static int nfs_write_done(struct rpc_task *task, struct nfs_write_data *data) |
655 | { | 660 | { |
656 | if (nfs_async_handle_expired_key(task)) | 661 | if (nfs_async_handle_expired_key(task)) |
@@ -741,6 +746,7 @@ const struct nfs_rpc_ops nfs_v2_clientops = { | |||
741 | .pathconf = nfs_proc_pathconf, | 746 | .pathconf = nfs_proc_pathconf, |
742 | .decode_dirent = nfs2_decode_dirent, | 747 | .decode_dirent = nfs2_decode_dirent, |
743 | .read_setup = nfs_proc_read_setup, | 748 | .read_setup = nfs_proc_read_setup, |
749 | .read_rpc_prepare = nfs_proc_read_rpc_prepare, | ||
744 | .read_done = nfs_read_done, | 750 | .read_done = nfs_read_done, |
745 | .write_setup = nfs_proc_write_setup, | 751 | .write_setup = nfs_proc_write_setup, |
746 | .write_rpc_prepare = nfs_proc_write_rpc_prepare, | 752 | .write_rpc_prepare = nfs_proc_write_rpc_prepare, |