diff options
author | Alex Elder <elder@inktank.com> | 2013-02-06 14:11:38 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-02-19 20:14:05 -0500 |
commit | 903bb32e890237ca43ab847e561e5377cfe0fdb3 (patch) | |
tree | a2327dd33fe66cd73b30e298b91829b28a05ea7c /include/linux/ceph/libceph.h | |
parent | 23ed6e13b320b33decb516cbe66e71b132df488d (diff) |
libceph: drop return value from page vector copy routines
The return values provided for ceph_copy_to_page_vector() and
ceph_copy_from_page_vector() serve no purpose, so get rid of them.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph/libceph.h')
-rw-r--r-- | include/linux/ceph/libceph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 2250f8bb2490..29818fc3fa49 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
@@ -232,10 +232,10 @@ extern struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags); | |||
232 | extern int ceph_copy_user_to_page_vector(struct page **pages, | 232 | extern int ceph_copy_user_to_page_vector(struct page **pages, |
233 | const void __user *data, | 233 | const void __user *data, |
234 | loff_t off, size_t len); | 234 | loff_t off, size_t len); |
235 | extern int ceph_copy_to_page_vector(struct page **pages, | 235 | extern void ceph_copy_to_page_vector(struct page **pages, |
236 | const void *data, | 236 | const void *data, |
237 | loff_t off, size_t len); | 237 | loff_t off, size_t len); |
238 | extern int ceph_copy_from_page_vector(struct page **pages, | 238 | extern void ceph_copy_from_page_vector(struct page **pages, |
239 | void *data, | 239 | void *data, |
240 | loff_t off, size_t len); | 240 | loff_t off, size_t len); |
241 | extern int ceph_copy_page_vector_to_user(struct page **pages, void __user *data, | 241 | extern int ceph_copy_page_vector_to_user(struct page **pages, void __user *data, |