diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-04-07 13:59:07 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-04-25 14:18:14 -0400 |
commit | 28b1d3f5a772b705ca76df620eb9f686aa2d0b4c (patch) | |
tree | 4966c8e010ce5e1876b0d707e340608c9ea97fbc /fs/nfs/write.c | |
parent | c917cfaf9bbef44dd35b75b8fb772a44798a1cf2 (diff) |
NFS: Remove unused argument from nfs_create_request()
All the callers of nfs_create_request() are now creating page group
heads, so we can remove the redundant 'last' page argument.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 03cde38ecd31..b9bcbd06a628 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -1171,7 +1171,7 @@ static struct nfs_page * nfs_setup_write_request(struct nfs_open_context* ctx, | |||
1171 | req = nfs_try_to_update_request(inode, page, offset, bytes); | 1171 | req = nfs_try_to_update_request(inode, page, offset, bytes); |
1172 | if (req != NULL) | 1172 | if (req != NULL) |
1173 | goto out; | 1173 | goto out; |
1174 | req = nfs_create_request(ctx, page, NULL, offset, bytes); | 1174 | req = nfs_create_request(ctx, page, offset, bytes); |
1175 | if (IS_ERR(req)) | 1175 | if (IS_ERR(req)) |
1176 | goto out; | 1176 | goto out; |
1177 | nfs_inode_add_request(inode, req); | 1177 | nfs_inode_add_request(inode, req); |