rbd: remove snap_name arg from rbd_add_parse_args()
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)
commit819d52bf72b61a8455024ff7863eed5d681e73c7
treeec487d71a6f13f0c54bbc17c41e6c4b37d4b3f39
parentf28e565a1b15eef62618db4011d9e320089a4214
rbd: remove snap_name arg from rbd_add_parse_args()

The snapshot name returned by rbd_add_parse_args() just gets saved
in the rbd_dev eventually.  So just do that inside that function and
do away with the snap_name argument, both in rbd_add_parse_args()
and rbd_dev_set_mapping().

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