]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: constify pag arguments to trace points
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Sep 2024 07:02:34 +0000 (09:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Sep 2024 13:19:49 +0000 (15:19 +0200)
commit4101e3dbc973760b0147efd1ff8c00b1271a32e9
tree7f17343fce7aca1937f09dde4aadbc54b8ec0604
parent5efca46e8cb71ca61ef6d87022d914dff87b2db0
xfs: constify pag arguments to trace points

Trace points never modify their arguments.  Mark all the pag objects
passed to trace points.  The exception is the xfs_ag_resv_class, which
uses the xfs_perag_resv helper that can't be marked const due to
other users modifying the returned structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/trace.h
fs/xfs/xfs_trace.h