]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove unnecessary loop in rgw_get_system_obj() 47083/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 13 Jul 2022 15:20:28 +0000 (11:20 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 13 Jul 2022 18:24:30 +0000 (14:24 -0400)
commit90aec61298fc378e1733bc76f0d3f95ce8ec135a
tree6ebcf8841b32eddb1aea8c95f4cce8d55c4d7d8f
parent3aee2a07975d425332f0746907e87d5f550ccb6b
rgw: remove unnecessary loop in rgw_get_system_obj()

the call to read() is no longer limited to 'request_len', so we don't
need to reallocate/retry

there's no reason to issue a separate stat() call either

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_tools.cc