xfs: constify pag arguments to trace points
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:18:32 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:25 +0000 (13:38 -0800)
commit2337ac79e93358caf1ac797fff54de1f8574d5d3
treec6ebc44ed3f818f711d61d7cfa6b7ce6ef9aaa79
parent3c39444939da054ea190296f03eb4bf72ea00fc3
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>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/scrub/trace.h
fs/xfs/xfs_trace.h