From 17f0cf3c26bb72bb4defd6da133a04f330822379 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 24 Sep 2019 09:07:58 -0500 Subject: [PATCH] osdc/Objecter: allow mutate ops to have return data Signed-off-by: Sage Weil --- src/osdc/Objecter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 3a21cffbc6f8b..165de03037985 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -2321,6 +2321,8 @@ public: o->mtime = mtime; o->snapc = snapc; o->out_rval.swap(op.out_rval); + o->out_bl.swap(op.out_bl); + o->out_handler.swap(op.out_handler); o->reqid = reqid; return o; } -- 2.39.5