rbd: get rid of snap_name_len
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)
commite5c35534042f4b5957a32bba651222c91247beba
tree979442169ba45a6d852cbf57f918ce04d20c378d
parent0ddebc0c6c518ae42c376151e34d9d4b84443ba5
rbd: get rid of snap_name_len

The value returned in the "snap_name_len" argument to
rbd_add_parse_args() is never actually used, so get rid of it.

The snap_name_len recorded in rbd_dev_v2_snap_name() is not
useful either, so get rid of that too.

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