]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean up some code 42597/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 2 Aug 2021 19:46:47 +0000 (15:46 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 3 Aug 2021 18:39:33 +0000 (14:39 -0400)
commit44d3f86a7deb0c643835c171f98389b17f4505e1
treeca609e28e6134a6cd7e83547f599fa6c708550a1
parentd6960d0e09d912b68a7fa80cf19564ece8f581cf
rgw: clean up some code

In rgw_admin.cc a variable `f` is used frequently. However due to the
sheer size of the file and variable scopes involved, finding the
declaration of `f`, which is a common character, can be
challenging. So it has been renamed `stream_flusher`, which better
indicates its purpose and makes it easier to find the corresponding
declaration.

Additionally some unneeded variables in RGWBucket::check_object_index
were removed. rgw::sal::Bucket::ListParams initializes parameters as
one would hope/expect.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_rados.cc