]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/KeyValueDB: return -ENOENT if key doesn't exist
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Wed, 8 Apr 2015 13:43:29 +0000 (21:43 +0800)
committerSage Weil <sage@redhat.com>
Wed, 19 Aug 2015 21:03:54 +0000 (17:03 -0400)
commitec60a2cc82641b97e061abbfe0455bffead73c58
treedda7243c099c79645dddd8a47a662ba991a52a0c
parented5a8d7698d9adf077aa31652fe20c50c125fea5
os/KeyValueDB: return -ENOENT if key doesn't exist

Previous code return 0 in all cases, caller doesn't
know if the key is exists in the db.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
src/os/KeyValueDB.h