]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSDMonitor: drop redundant null check of max_failed_since
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 11 Aug 2016 03:39:11 +0000 (11:39 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 17 Aug 2016 04:37:13 +0000 (12:37 +0800)
commit20327d6516580d32cc98b58731c3d657be1aedd9
treed9fe3857189f677557095b71330752874d8cf6d2
parentfcae36d119544ff58694a6b2ca2f46aa2c831c96
osd/OSDMonitor: drop redundant null check of max_failed_since

Because the "max_failed_since < failed_since" will catch both.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.h