diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-05-15 11:56:42 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-29 11:11:43 -0400 |
commit | 8c8f1ac109726e4ed44a920f5c962c84610d4a17 (patch) | |
tree | 8109ea345efe64ef00262c92c17ec39e06cd2b51 /fs/nfs/pagelist.c | |
parent | 12c05792599ec57ebab33096b2c75b863dfe6ea4 (diff) |
nfs: remove unused arg from nfs_create_request
@inode is passed but not used.
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r-- | fs/nfs/pagelist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 29591094125a..4b4b212ec6b2 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c | |||
@@ -139,7 +139,6 @@ nfs_iocounter_wait(struct nfs_io_counter *c) | |||
139 | /** | 139 | /** |
140 | * nfs_create_request - Create an NFS read/write request. | 140 | * nfs_create_request - Create an NFS read/write request. |
141 | * @ctx: open context to use | 141 | * @ctx: open context to use |
142 | * @inode: inode to which the request is attached | ||
143 | * @page: page to write | 142 | * @page: page to write |
144 | * @offset: starting offset within the page for the write | 143 | * @offset: starting offset within the page for the write |
145 | * @count: number of bytes to read/write | 144 | * @count: number of bytes to read/write |
@@ -149,8 +148,7 @@ nfs_iocounter_wait(struct nfs_io_counter *c) | |||
149 | * User should ensure it is safe to sleep in this function. | 148 | * User should ensure it is safe to sleep in this function. |
150 | */ | 149 | */ |
151 | struct nfs_page * | 150 | struct nfs_page * |
152 | nfs_create_request(struct nfs_open_context *ctx, struct inode *inode, | 151 | nfs_create_request(struct nfs_open_context *ctx, struct page *page, |
153 | struct page *page, | ||
154 | unsigned int offset, unsigned int count) | 152 | unsigned int offset, unsigned int count) |
155 | { | 153 | { |
156 | struct nfs_page *req; | 154 | struct nfs_page *req; |