From 29bc434a6a81a2e5c5b8cfc4c8d5c82ca5bf538a Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Thu, 29 Nov 2018 01:05:31 +0000 Subject: [PATCH] rgw: fix issues with 'enforce bounds' patch The patch to enforce bounds on max-keys/max-uploads/max-parts had a few issues that would prevent us from compiling it. Instead of changing the code provided by the submitter, we're addressing them in a separate commit to maintain the DCO. Signed-off-by: Joao Eduardo Luis --- src/common/options.cc | 2 +- src/rgw/rgw_op.cc | 4 +++- src/rgw/rgw_op.h | 19 ++++++++++++------- src/rgw/rgw_rest.cc | 8 ++++++-- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index cc98027cc5d..03db62f133d 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6460,7 +6460,7 @@ std::vector