]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: don't assert if get_omap_iterator() returns NULL
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:20:38 +0000 (12:20 -0700)
commit546ed917fb3e76fef090492f3b8c322897aa4ed9
tree8048fff20dea0472a629e9fe5e3ec2f66dd1e57b
parent76b736b33708c78cbe4200f1483a8517d8b5b501
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