libceph: set page info with byte length
authorAlex Elder <elder@inktank.com>
Thu, 7 Mar 2013 21:38:26 +0000 (15:38 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:39 +0000 (21:16 -0700)
commitf1baeb2b9fc1c2c87ec02f1bf8cb88e108d4fbce
tree5ca6b72adeeea2423367ea3313902cf61fd45980
parent02afca6ca00b7972887c5cc77068356f33bdfc18
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>
fs/ceph/mds_client.c
include/linux/ceph/messenger.h
net/ceph/messenger.c
net/ceph/osd_client.c