From: John Spray Date: Wed, 12 Jul 2017 23:54:59 +0000 (-0400) Subject: tools: avoid max() calls on rbd config options X-Git-Tag: v12.1.2~192^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e9b62c1b609fa5db3e57a257f24e2b7908cf974;p=ceph.git tools: avoid max() calls on rbd config options These were awkward for typing of the '1' literal vs. the int64_t settings. The whole max() thing is also unnecessary now, if we set proper bounds on the option definitions. Signed-off-by: John Spray --- diff --git a/src/common/options.cc b/src/common/options.cc index a930f362cd3e..e5540b6717a3 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4345,6 +4345,7 @@ const std::vector