rbd: pull in ceph_calc_raw_layout()
authorAlex Elder <elder@inktank.com>
Wed, 14 Nov 2012 18:25:18 +0000 (12:25 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 22:34:58 +0000 (16:34 -0600)
commit0829661863fb5c8031c1c5c119693ea157517783
tree716416a4d4798a26e174a50563987796c82e12f1
parent2b5fc648af5eec2f4fe984cb6b926214e02c5cf4
rbd: pull in ceph_calc_raw_layout()

This is the first in a series of patches aimed at eliminating
the use of ceph_calc_raw_layout() by rbd.

It simply pulls in a copy of that function and renames it
rbd_calc_raw_layout().

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c