From: Alex Elder Date: Wed, 14 Nov 2012 03:11:15 +0000 (-0600) Subject: libceph: drop snapid in ceph_calc_raw_layout() X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6b250bf18d44571d69a0f4afec4b6a1969729f;p=pandora-kernel.git libceph: drop snapid in ceph_calc_raw_layout() A snapshot id must be provided to ceph_calc_raw_layout() even though it is not needed at all for calculating the layout. Where the snapshot id *is* needed is when building the request message for an osd operation. Drop the snapid parameter from ceph_calc_raw_layout() and pass that value instead in ceph_osdc_build_request(). Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed