Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librbd: don't continue to remove an image w/ incompatible features #12638

Merged
merged 1 commit into from Jan 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/librbd/internal.cc
Expand Up @@ -1502,6 +1502,9 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force,
if (r < 0) {
ldout(cct, 2) << "error opening image: " << cpp_strerror(-r) << dendl;
delete ictx;
if (r != -ENOENT) {
return r;
}
} else {
string header_oid = ictx->header_oid;
old_format = ictx->old_format;
Expand Down