From: Joao Eduardo Luis Date: Thu, 29 Nov 2018 01:05:31 +0000 (+0000) Subject: rgw: fix issues with 'enforce bounds' patch X-Git-Tag: v13.2.4~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab29bed2fc9f961fe895de1086a8208e21ddaddc;p=ceph.git 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 Signed-off-by: Abhishek Lekshmanan (cherry picked from commit 29bc434a6a81a2e5c5b8cfc4c8d5c82ca5bf538a) mimic specific fixes: As the largeish change from master g_conf() isn't in mimic yet, use the g_conf global structure, also make rgw_op use the value from req_info ceph context as we do for all the requests --- diff --git a/src/common/options.cc b/src/common/options.cc index a543256d8ad3..d906d1d04e10 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6238,7 +6238,7 @@ std::vector