]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
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>
Mon, 19 Nov 2012 23:37:47 +0000 (17:37 -0600)
commit48c4fbe470d6fcc9cd51d6b34562b6b2d322e867
treee972d04e06dae5d5eabfeda18a01bd778c1c8804
parentb3cb340a042cd13dcb6ee6c37f6068906aac2370
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>
drivers/block/rbd.c