rbd: move snap info out of rbd_mapping struct
authorAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 04:34:41 +0000 (23:34 -0500)
committerAlex Elder <elder@inktank.com>
Tue, 30 Oct 2012 13:34:29 +0000 (08:34 -0500)
commit971f839a7670197366c04e99472943532caeb0dc
tree7e1a7edc3502a564939e3127c292d8e6d8e50534
parent86992098e7fdb97d01feb51495a952b264a55b7c
rbd: move snap info out of rbd_mapping struct

Moving the snap_id and snap_name fields into the separate
rbd_mapping structure was misguided.  (And in time, perhaps
we'll do away with that structure altogether...)

Move these fields back into struct rbd_device.

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