aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosh Durgin <[email protected]>2013-08-30 02:16:42 +0000
committerJosh Durgin <[email protected]>2013-09-09 18:16:32 +0000
commitefadc98aab674153709cc357ba565f04e3164fcd (patch)
tree4cdf435882f6bb95be440b5a0f439a28ea9f544e /fs/btrfs/dev-replace.c
parentrbd: fix use-after free of rbd_dev->disk (diff)
downloadkernel-efadc98aab674153709cc357ba565f04e3164fcd.tar.gz
kernel-efadc98aab674153709cc357ba565f04e3164fcd.zip
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 <[email protected]> Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions