summaryrefslogtreecommitdiff
path: root/include/Kbuild
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-05 01:27:12 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:18:24 -0700
commitec9123c56787fa7fb2608f05b19d21c5e1912d87 (patch)
tree84eb73a2dbb596c7aba369d42cd37146330fd2d4 /include/Kbuild
parenta4ce40a9a7c1053ac2a41cf64255e44e356e5522 (diff)
downloadlinux-3.10-ec9123c56787fa7fb2608f05b19d21c5e1912d87.tar.gz
linux-3.10-ec9123c56787fa7fb2608f05b19d21c5e1912d87.tar.bz2
linux-3.10-ec9123c56787fa7fb2608f05b19d21c5e1912d87.zip
libceph: set the data pointers when encoding ops
Still using the osd request r_data_in and r_data_out pointer, but we're basically only referring to it via the data pointers in the osd ops. And we're transferring that information to the request or reply message only when the op indicates it's needed, in osd_req_encode_op(). To avoid a forward reference, ceph_osdc_msg_data_set() was moved up in the file. Don't bother calling ceph_osd_data_init(), in ceph_osd_alloc(), because the ops array will already be zeroed anyway. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions