rbd: return snap name from rbd_add_parse_args()
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)
commit3feeb8946739d980fb0922bf68363552a493a49c
tree5ba7c35caaf7a28ebe8bad9bad7e210a93df030b
parent99c1f08f6459cfa6fe1f5fb68706b437e006be2e
rbd: return snap name from rbd_add_parse_args()

This is the first of two patches aimed at isolating the code that
sets the mapping information into a single spot.

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