]> git.karo-electronics.de Git - linux-beck.git/commit
libceph: define ceph_msg_has_*() data macros
authorAlex Elder <elder@inktank.com>
Sat, 2 Mar 2013 00:00:16 +0000 (18:00 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:53 +0000 (21:16 -0700)
commit97fb1c7f6637ee61c90b8bc186d464cfd426b063
tree561715682d70fb55c43acbd0fcedca33d0597237
parent35b6280899424a0faf5410ce1ee86f9682528e6c
libceph: define ceph_msg_has_*() data macros

Define and use macros ceph_msg_has_*() to determine whether to
operate on the pages, pagelist, bio, and trail fields of a message.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c