Conflicts:
src/osd/ReplicatedPG.cc
Reviewed-by: Sage Weil <sage@redhat.com>
// category is no longer implemented.
}
if (result >= 0) {
+ bool is_whiteout = obs.exists && oi.is_whiteout();
if (maybe_create_new_object(ctx)) {
- ctx->mod_desc.create();
+ ctx->mod_desc.create();
t->touch(soid);
- } else if (is_whiteout) //change whiteout to non-whiteout, it need a op to update xattr.
++ } else if (is_whiteout) {
++ // to change whiteout to non-whiteout, it need an op to update xattr
+ t->nop();
+ }
}
}
}