]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: fix error handling if we fail to set some pool opts
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 28 Jun 2017 03:43:32 +0000 (11:43 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 28 Jun 2017 05:33:07 +0000 (13:33 +0800)
commit820b12f448fa0fbc5657f129b0a67413bbae616e
tree46f82bcb7196ef0b113944232ade246cf64e1d9b
parentbad5908dfe7fb45f8c7f561626d1864ca88675f8
mon/OSDMonitor: fix error handling if we fail to set some pool opts

Returning a positive error code is generally not the preferred option
and can not be handled properly by caller here.

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