Signed-off-by: Jason Dillaman <dillaman@redhat.com>
#include "librbd/ExclusiveLock.h"
#include "librbd/ImageCtx.h"
#include "librbd/image/DetachChildRequest.h"
+#include "librbd/Types.h"
#include "librbd/io/ObjectRequest.h"
#include "common/dout.h"
#include "common/errno.h"
ldout(cct, 5) << "image already flattened" << dendl;
return true;
}
- m_parent_spec = image_ctx.parent_md.spec;
}
// remove parent from this (base) image
#include "librbd/operation/Request.h"
#include "common/snap_types.h"
-#include "librbd/Types.h"
namespace librbd {
ProgressContext &m_prog_ctx;
State m_state = STATE_FLATTEN_OBJECTS;
- ParentSpec m_parent_spec;
-
bool send_detach_child();
bool send_update_header();
};