commit | 4d6b250bf18d44571d69a0f4afec4b6a1969729f | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Nov 13 21:11:15 2012 -0600 |
committer | Alex Elder <elder@inktank.com> | Thu Jan 17 15:52:05 2013 -0600 |
tree | 8f357c6f3a8871ff678cb6a9e024d1282f8c5dfb | |
parent | e8afad656cbcd06d02a7bacd4b318fa0e2907de0 [diff] |
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>