From: Alex Elder Date: Thu, 14 Mar 2013 01:50:01 +0000 (-0500) Subject: libceph: don't update op in calc_layout() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19dadfba91c73a12a666e6fdb9e242f325df825;p=pandora-kernel.git libceph: don't update op in calc_layout() The ceph_osdc_new_request() an array of osd operations is built up and filled in partially within that function and partially in the called function calc_layout(). Move the latter part back out to ceph_osdc_new_request() so it's all done in one place. This makes it unnecessary to pass the op pointer to calc_layout(), so get rid of that parameter. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed