diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2016-01-15 22:54:15 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-21 21:54:04 +0100 |
commit | 6272dcc6beebbc2d8cf4165b628169e878f143e0 (patch) | |
tree | 285184199611e0149c23f4addfc86ae896ff5060 /fs/nfs/filelayout | |
parent | NFS: Fix a compile warning about unused variable in nfs_generic_pg_pgios() (diff) | |
download | linux-6272dcc6beebbc2d8cf4165b628169e878f143e0.tar.xz linux-6272dcc6beebbc2d8cf4165b628169e878f143e0.zip |
NFS: Simplify nfs_request_add_commit_list() arguments
I noticed that all the callers of this function pass cinfo->mds->list as
an argument in addition to the cinfo structure itself. Let's get rid of
the extra argument, since it doesn't seem to be adding anything.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
-rw-r--r-- | fs/nfs/filelayout/filelayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c index bb1f4e7a3270..3384dc8e6683 100644 --- a/fs/nfs/filelayout/filelayout.c +++ b/fs/nfs/filelayout/filelayout.c @@ -971,7 +971,7 @@ filelayout_mark_request_commit(struct nfs_page *req, u32 i, j; if (fl->commit_through_mds) { - nfs_request_add_commit_list(req, &cinfo->mds->list, cinfo); + nfs_request_add_commit_list(req, cinfo); } else { /* Note that we are calling nfs4_fl_calc_j_index on each page * that ends up being committed to a data server. An attractive |