aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-07 16:38:26 -0500
committerSage Weil <sage@inktank.com>2013-05-02 00:16:39 -0400
commitf1baeb2b9fc1c2c87ec02f1bf8cb88e108d4fbce (patch)
tree5ca6b72adeeea2423367ea3313902cf61fd45980 /include/linux/ceph
parent02afca6ca00b7972887c5cc77068356f33bdfc18 (diff)
libceph: set page info with byte length
When setting page array information for message data, provide the byte length rather than the page count ceph_msg_data_set_pages(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index aa463b9b30af..e6d20e892a88 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -220,7 +220,7 @@ extern void ceph_msg_revoke_incoming(struct ceph_msg *msg);
220extern void ceph_con_keepalive(struct ceph_connection *con); 220extern void ceph_con_keepalive(struct ceph_connection *con);
221 221
222extern void ceph_msg_data_set_pages(struct ceph_msg *msg, struct page **pages, 222extern void ceph_msg_data_set_pages(struct ceph_msg *msg, struct page **pages,
223 unsigned int page_count, size_t alignment); 223 size_t length, size_t alignment);
224 224
225extern struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags, 225extern struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags,
226 bool can_fail); 226 bool can_fail);