diff options
author | Fred Isaman <iisaman@netapp.com> | 2012-04-20 14:47:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 14:10:37 -0400 |
commit | c5996c4efb95bbb80a25acc890357c9eae998eeb (patch) | |
tree | 06f0955c48ba20ff1bd28da1261343cb4f2ab7ff /fs/nfs/read.c | |
parent | 31f6852a4c187c031456581b35e146c0d5bbdecd (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.c | 5 |
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 | ||
172 | int nfs_initiate_read(struct nfs_read_data *data, struct rpc_clnt *clnt, | 172 | int 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 | ||
246 | static int | 247 | static int |