mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
librbd: drop unused variable from flatten state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
88171d09f3
commit
7a24713a72
@ -6,6 +6,7 @@
|
||||
#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"
|
||||
@ -162,7 +163,6 @@ bool FlattenRequest<I>::send_update_header() {
|
||||
ldout(cct, 5) << "image already flattened" << dendl;
|
||||
return true;
|
||||
}
|
||||
m_parent_spec = image_ctx.parent_md.spec;
|
||||
}
|
||||
|
||||
// remove parent from this (base) image
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "librbd/operation/Request.h"
|
||||
#include "common/snap_types.h"
|
||||
#include "librbd/Types.h"
|
||||
|
||||
namespace librbd {
|
||||
|
||||
@ -72,8 +71,6 @@ private:
|
||||
ProgressContext &m_prog_ctx;
|
||||
State m_state = STATE_FLATTEN_OBJECTS;
|
||||
|
||||
ParentSpec m_parent_spec;
|
||||
|
||||
bool send_detach_child();
|
||||
bool send_update_header();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user