]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: don't assert if get_omap_iterator() returns NULL 266/head
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 8 May 2013 19:18:49 +0000 (12:18 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 8 May 2013 19:18:49 +0000 (12:18 -0700)
commit36ec6f9bce63641f4fc2e4ab04d03d3ec1638ea0
tree6a74b6724f4d896eec7a63cca76cff1de8da05ee
parent3846451548e1161e721cfcca9bc6732c5109df69
osd: don't assert if get_omap_iterator() returns NULL

Fixes: #4949
This can happen if the object does not exist and it's
a write operation. Just return -ENOENT.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/osd/ReplicatedPG.cc