rbd: kill rbd_spec->image_name_len
authorAlex Elder <elder@dreamhost.com>
Thu, 1 Nov 2012 13:39:26 +0000 (08:39 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 20:08:46 +0000 (14:08 -0600)
commit69e7a02f633ba7de0aefa87f3f0e3b31e953b09a
tree6a6c660cb073cf02e5c592a53071a5d23f44d1ef
parentc66c6e0c0b04ce4a152fe02c562dd0752665d580
rbd: kill rbd_spec->image_name_len

There may have been a benefit to hanging on to the length of an
image name before, but there is really none now.  The only time it's
used is when probing for rbd images, so we can just compute the
length then.

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