From: Alex Elder Date: Fri, 5 Apr 2013 06:27:12 +0000 (-0500) Subject: rbd: don't set data in rbd_osd_req_format_op() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa123201a86ff979813e24f9e5c5fa54931ab7f;p=pandora-kernel.git rbd: don't set data in rbd_osd_req_format_op() Currently an object request has its osd request's data field set in rbd_osd_req_format_op(). That assumes a single osd op per object request, and that won't be the case for long. Move the code that sets this out and into the caller. Rename rbd_osd_req_format_op() to be just rbd_osd_req_format(), removing the notion that it's doing anything op-specific. This and the next patch resolve: http://tracker.ceph.com/issues/4658 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed