]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: constify pag arguments to trace points
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Sep 2024 20:40:26 +0000 (13:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:10:34 +0000 (18:10 -0700)
commitd9a1385f0efe76034d16bfab8b977a56ff28d26f
treee1817e94984d9796099cfb4e367f2fb988734886
parent838e369f25bbaa29eb07cbfa387c4fd44b798c36
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