]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove potentially conficting definition of dout_subsys 46265/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 13 May 2022 23:03:25 +0000 (19:03 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Sat, 14 May 2022 04:33:26 +0000 (00:33 -0400)
commit8efea3e894e7db82a6f65cd997bb832e1e91a54a
tree59719af0128cedf47b5e690fbd1a27199a37ee0f
parent8dc7cb108e3bb313919b5aa4cf7895ca1a939a45
rgw: remove potentially conficting definition of dout_subsys

dout_subsys should strictly be defined in .cc files. There was a
definition of dout_subsys in rgw_log.h, which is included in a variety
of .cc files due to transitive includes. When a subsystem wants a
conflicting definition, a compiler warning is then generated due to
the redefinition of dout_subsys.

The definition is removed from rgw_log.h and follow-on fixes are made.

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