summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-11-09 12:24:53 -0800
committerSage Weil <sage@newdream.net>2010-11-09 12:24:53 -0800
commite98b6fed84d0f0155d7b398e0dfeac74c792f2d0 (patch)
tree0762cba398c39329dc5f056ddfccebf6768d2555 /net
parentd8672d64b88cdb7aa8139fb6d218f40b8cbf60af (diff)
ceph: fix comment, remove extraneous args
The offset/length arguments aren't used. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net')
-rw-r--r--net/ceph/pagevec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ceph/pagevec.c b/net/ceph/pagevec.c
index 54caf0687155..ac34feeb2b3a 100644
--- a/net/ceph/pagevec.c
+++ b/net/ceph/pagevec.c
@@ -13,8 +13,7 @@
* build a vector of user pages
*/
struct page **ceph_get_direct_page_vector(const char __user *data,
- int num_pages,
- loff_t off, size_t len)
+ int num_pages)
{
struct page **pages;
int rc;