rbd: move stripe_unit and stripe_count into header
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 14:43:47 +0000 (09:43 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:39 +0000 (21:19 -0700)
commit500d0c0fbb85b59e5e75fc83ff701b7d8aa285f9
tree0c8c0f955bc6fb00606e4eeaf001077e14c33465
parentecb4dc225612e1c0b28d2c1b168422dde4f442a6
rbd: move stripe_unit and stripe_count into header

This commit added fetching if fancy striping parameters:
    09186ddb rbd: get and check striping parameters

They are almost unused, but the two fields storing the information
really belonged in the rbd_image_header structure.

This patch moves them there.

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