aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/messenger.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-07 15:38:26 -0600
committerSage Weil <sage@inktank.com>2013-05-01 21:16:39 -0700
commitf1baeb2b9fc1c2c87ec02f1bf8cb88e108d4fbce (patch)
tree5ca6b72adeeea2423367ea3313902cf61fd45980 /include/linux/ceph/messenger.h
parentlibceph: isolate message page field manipulation (diff)
downloadlinux-dev-f1baeb2b9fc1c2c87ec02f1bf8cb88e108d4fbce.tar.xz
linux-dev-f1baeb2b9fc1c2c87ec02f1bf8cb88e108d4fbce.zip
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/messenger.h')
-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);
extern void ceph_con_keepalive(struct ceph_connection *con);
extern void ceph_msg_data_set_pages(struct ceph_msg *msg, struct page **pages,
- unsigned int page_count, size_t alignment);
+ size_t length, size_t alignment);
extern struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags,
bool can_fail);