]> git.karo-electronics.de Git - linux-beck.git/commit
rbd: ignore unmapped snapshots that no longer exist
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 30 Aug 2013 02:16:42 +0000 (19:16 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 9 Sep 2013 18:16:32 +0000 (11:16 -0700)
commitefadc98aab674153709cc357ba565f04e3164fcd
tree4cdf435882f6bb95be440b5a0f439a28ea9f544e
parent9875201e10496612080e7d164acc8f625c18725c
rbd: ignore unmapped snapshots that no longer exist

This prevents erroring out while adding a device when a snapshot
unrelated to the current mapping is deleted between reading the
snapshot context and reading the snapshot names. If the mapped
snapshot name is not found an error still occurs as usual.

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