]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: remove the duplicated code.
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 20 Apr 2015 15:03:06 +0000 (23:03 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Wed, 22 Apr 2015 01:11:11 +0000 (09:11 +0800)
commit34cb1f0cce359ebfc271c73552bfbddec85ce8de
treedfe12df7347a35328c2430f29d60fb0f55c810de
parentf4e7d4a9c1c900645c0717e2ecfdf51ea2bc62ea
PG: remove the duplicated code.

assert(!actingbackfill.empty()) is equal to
assert(actingbackfill.end() != actingbackfill.begin()).

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/osd/PG.cc