]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/kstore: fix race condition
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 5 Feb 2016 09:37:49 +0000 (17:37 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 5 Feb 2016 09:37:49 +0000 (17:37 +0800)
commit5d5e4200e2f732f67215c2df2c18e9a4371ffceb
tree2b19e06174df0d7ee0ead53889ae0fde3ad0014e
parent1e8719f95556f7ac71d06f7e3281927fbfb0d86a
os/kstore: fix race condition

The get_omap_iterator shall check the existence of onode too,
which may race with the rename method.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/kstore/KStore.cc