mirror of
https://github.com/ceph/ceph
synced 2025-03-19 17:06:24 +00:00
librbd/operation/RebuildObjectMapRequest.cc: init m_snap_list_ret in ctor
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
c645bd9c09
commit
a55f8c2186
@ -32,7 +32,8 @@ public:
|
||||
uint64_t snap_id, uint64_t object_no)
|
||||
: C_AsyncObjectThrottle<I>(throttle, *image_ctx), m_snap_id(snap_id),
|
||||
m_object_no(object_no),
|
||||
m_oid(image_ctx->get_object_name(m_object_no))
|
||||
m_oid(image_ctx->get_object_name(m_object_no)),
|
||||
m_snap_list_ret(0)
|
||||
{
|
||||
m_io_ctx.dup(image_ctx->md_ctx);
|
||||
m_io_ctx.snap_set_read(CEPH_SNAPDIR);
|
||||
|
Loading…
Reference in New Issue
Block a user