]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: allow null image name
authorAlex Elder <elder@inktank.com>
Wed, 31 Oct 2012 00:40:33 +0000 (19:40 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 1 Nov 2012 12:55:42 +0000 (07:55 -0500)
commit92cbf8e18d941420810033bd0e8d4f0d0c9981f9
treed813b4eaebe1cadf6964347a304bc40e85fab757
parent0879fea86a3e926406a23af8e3e2a48d0ea37532
rbd: allow null image name

We will know the image id for format 2 parent images, but won't
initially know its image name.  Avoid making the query for an image
id in rbd_dev_image_id() if it's already known.

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