]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: set mapping name with the rest
authorAlex Elder <elder@inktank.com>
Fri, 31 Aug 2012 22:29:52 +0000 (17:29 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:51 +0000 (14:30 -0500)
commite0af30f9f45e4c29109b9ebf299df9a2d89439d3
tree74c0b0ba2390018d1aa66fdda2e9bc0b095bdb72
parent2a9b448fe3b640c2c1ebf5bd18e0853b1a12fbd2
rbd: set mapping name with the rest

With the exception of the snapshot name, all of the mapping-specific
fields in an rbd device structure are set in rbd_header_set_snap().

Pass the snapshot name to be assigned into rbd_header_set_snap()
to keep all of the mapping assignments together.

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