aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout
diff options
context:
space:
mode:
authorTom Haynes <loghyr@primarydata.com>2014-06-09 16:12:20 -0400
committerTom Haynes <loghyr@primarydata.com>2015-02-03 14:06:35 -0500
commitabde71f4d3c027a30f8d725e1e22001313b4481a (patch)
tree231ac431aca9a18d5c7aa1fe0f87068cbe6ce931 /fs/nfs/filelayout
parent5f01d9539496577b9ee62e213f4122a2a209550c (diff)
pnfs: Add nfs_rpc_ops in calls to nfs_initiate_pgio
Signed-off-by: Tom Haynes <loghyr@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
-rw-r--r--fs/nfs/filelayout/filelayout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c
index bc36ed350a68..25c4896887ca 100644
--- a/fs/nfs/filelayout/filelayout.c
+++ b/fs/nfs/filelayout/filelayout.c
@@ -501,7 +501,7 @@ filelayout_read_pagelist(struct nfs_pgio_header *hdr)
501 hdr->mds_offset = offset; 501 hdr->mds_offset = offset;
502 502
503 /* Perform an asynchronous read to ds */ 503 /* Perform an asynchronous read to ds */
504 nfs_initiate_pgio(ds_clnt, hdr, 504 nfs_initiate_pgio(ds_clnt, hdr, NFS_PROTO(hdr->inode),
505 &filelayout_read_call_ops, 0, RPC_TASK_SOFTCONN); 505 &filelayout_read_call_ops, 0, RPC_TASK_SOFTCONN);
506 return PNFS_ATTEMPTED; 506 return PNFS_ATTEMPTED;
507} 507}
@@ -542,7 +542,7 @@ filelayout_write_pagelist(struct nfs_pgio_header *hdr, int sync)
542 hdr->args.offset = filelayout_get_dserver_offset(lseg, offset); 542 hdr->args.offset = filelayout_get_dserver_offset(lseg, offset);
543 543
544 /* Perform an asynchronous write */ 544 /* Perform an asynchronous write */
545 nfs_initiate_pgio(ds_clnt, hdr, 545 nfs_initiate_pgio(ds_clnt, hdr, NFS_PROTO(hdr->inode),
546 &filelayout_write_call_ops, sync, 546 &filelayout_write_call_ops, sync,
547 RPC_TASK_SOFTCONN); 547 RPC_TASK_SOFTCONN);
548 return PNFS_ATTEMPTED; 548 return PNFS_ATTEMPTED;