crimson/osd: capture watcher when calling its member function 33425/head
authorKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 08:09:19 +0000 (16:09 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Feb 2020 08:09:22 +0000 (16:09 +0800)
commit18ce15ab5ecce0352dde1fac2d62facf37180431
treee04bf91e438fd7fa75bbc040049d36c5fc94dafa
parent34b78df4806461862bdb6c04b6a0c7d82df0780a
crimson/osd: capture watcher when calling its member function

otherwise the extracted node handler will be destroyed, and so does the
watcher enclosed in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/ops_executer.cc