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/write.c | |
parent | 31f6852a4c187c031456581b35e146c0d5bbdecd (diff) | |
download | kernel_goldelico_gta04-c5996c4efb95bbb80a25acc890357c9eae998eeb.zip kernel_goldelico_gta04-c5996c4efb95bbb80a25acc890357c9eae998eeb.tar.gz kernel_goldelico_gta04-c5996c4efb95bbb80a25acc890357c9eae998eeb.tar.bz2 |
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/write.c')
-rw-r--r-- | fs/nfs/write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 54f7c0f..76735dd 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -836,8 +836,8 @@ static int flush_task_priority(int how) return RPC_PRIORITY_NORMAL; } -int nfs_initiate_write(struct nfs_write_data *data, - struct rpc_clnt *clnt, +int nfs_initiate_write(struct rpc_clnt *clnt, + struct nfs_write_data *data, const struct rpc_call_ops *call_ops, int how) { @@ -937,7 +937,7 @@ static int nfs_do_write(struct nfs_write_data *data, { struct inode *inode = data->args.context->dentry->d_inode; - return nfs_initiate_write(data, NFS_CLIENT(inode), call_ops, how); + return nfs_initiate_write(NFS_CLIENT(inode), data, call_ops, how); } static int nfs_do_multiple_writes(struct list_head *head, |