aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorTom Haynes <loghyr@primarydata.com>2014-06-09 13:12:20 -0700
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:35 -0800
commitabde71f4d3c027a30f8d725e1e22001313b4481a (patch)
tree231ac431aca9a18d5c7aa1fe0f87068cbe6ce931 /fs/nfs/read.c
parentnfs41: create NFSv3 DS connection if specified (diff)
downloadlinux-dev-abde71f4d3c027a30f8d725e1e22001313b4481a.tar.xz
linux-dev-abde71f4d3c027a30f8d725e1e22001313b4481a.zip
pnfs: Add nfs_rpc_ops in calls to nfs_initiate_pgio
Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index c91a4799c562..092ab499f2b6 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -168,13 +168,14 @@ out:
static void nfs_initiate_read(struct nfs_pgio_header *hdr,
struct rpc_message *msg,
+ const struct nfs_rpc_ops *rpc_ops,
struct rpc_task_setup *task_setup_data, int how)
{
struct inode *inode = hdr->inode;
int swap_flags = IS_SWAPFILE(inode) ? NFS_RPC_SWAPFLAGS : 0;
task_setup_data->flags |= swap_flags;
- NFS_PROTO(inode)->read_setup(hdr, msg);
+ rpc_ops->read_setup(hdr, msg);
}
static void