aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2012-04-20 14:47:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-27 14:10:37 -0400
commitc5996c4efb95bbb80a25acc890357c9eae998eeb (patch)
tree06f0955c48ba20ff1bd28da1261343cb4f2ab7ff /fs/nfs/read.c
parent31f6852a4c187c031456581b35e146c0d5bbdecd (diff)
NFS: reverse arg order in nfs_initiate_[read|write]
Make it consistent with nfs_initiate_commit. Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index 0a4be28c2ea3..4ddba6706347 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -169,7 +169,8 @@ static void nfs_readpage_release(struct nfs_page *req)
169 nfs_release_request(req); 169 nfs_release_request(req);
170} 170}
171 171
172int nfs_initiate_read(struct nfs_read_data *data, struct rpc_clnt *clnt, 172int nfs_initiate_read(struct rpc_clnt *clnt,
173 struct nfs_read_data *data,
173 const struct rpc_call_ops *call_ops) 174 const struct rpc_call_ops *call_ops)
174{ 175{
175 struct inode *inode = data->inode; 176 struct inode *inode = data->inode;
@@ -240,7 +241,7 @@ static int nfs_do_read(struct nfs_read_data *data,
240{ 241{
241 struct inode *inode = data->args.context->dentry->d_inode; 242 struct inode *inode = data->args.context->dentry->d_inode;
242 243
243 return nfs_initiate_read(data, NFS_CLIENT(inode), call_ops); 244 return nfs_initiate_read(NFS_CLIENT(inode), data, call_ops);
244} 245}
245 246
246static int 247static int