]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: Allow config set with negative value
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 27 Jan 2016 01:18:16 +0000 (11:18 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 14 Jul 2016 03:27:14 +0000 (13:27 +1000)
commitf70e4adf8682ed82b267e21e5e63039048893243
tree934c9f21c345e56a50fc0825900b65c0da6bda55
parentd56bdf93ced6b80b07397d57e3fa68fe68304432
common: Allow config set with negative value

A recent commit disabled negative values but they are required for variables
such as filestore_merge_threshold.

Modified patch to remove C++11 specific elements so it will build for hammer

Fixes: #13829
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 8b777a0c346bc70fd10d07e89368b3785b58f10e)
src/common/strtol.cc
src/common/strtol.h