]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: drop snapid in ceph_calc_raw_layout()
authorAlex Elder <elder@inktank.com>
Wed, 14 Nov 2012 03:11:15 +0000 (21:11 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:50 +0000 (17:37 -0600)
commit845ce2bd7072838c90528abb14f53d4ffed7fde4
treeb7d499a111bdc1c74576d7186099e8c16f018c9a
parent74824d7317b9f16d88b558a5a2ef883a9dfd8caf
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>
drivers/block/rbd.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c