]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/Mutation: un-inline print() to resolve circular dependency
authorMax Kellermann <max.kellermann@ionos.com>
Thu, 17 Apr 2025 15:04:26 +0000 (17:04 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 17 Apr 2025 15:25:00 +0000 (17:25 +0200)
commitc358dc057872c1d25285d822e4d2217a3b567e42
tree8979a6375a1a1798b8ad1e7771d84f75143aed19
parent2d3487bf60e310ef4e17f0ed54e3b0cf48c1ec7b
mds/Mutation: un-inline print() to resolve circular dependency

Mutation.h and SimpleLock.h have a circular dependency and we have to
resolve it using forward-declarations.  To make that possible, move
print() to Mutation.cc.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mds/Mutation.cc
src/mds/Mutation.h