]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: pass const pointers when we're not modifying them
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:22:07 +0000 (10:22 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:16:03 +0000 (09:16 -0800)
commitc68e2766c6145f029bab0b59af699fbaf7960440
tree6ede405146d5f2149e21036cdcfa94af0540dfb9
parent17408f8871e100b2987174b6cf480ee68e44e1a3
xfs_db: pass const pointers when we're not modifying them

Pass a const pointer to path_walk since we don't actually modify the
contents.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>
db/namei.c