]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fsverity: deconstify the inode pointer in struct fsverity_info
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Feb 2026 06:06:34 +0000 (07:06 +0100)
committerEric Biggers <ebiggers@kernel.org>
Tue, 3 Feb 2026 01:15:26 +0000 (17:15 -0800)
commit7e36e044958da7d2cbff391dcfda405f5472ae1d
tree32c93ea7d081f0d0b2d42ef4ce430daac594e259
parentf1a6cf44b344b1ac2cefb387779e3002be237a7e
fsverity: deconstify the inode pointer in struct fsverity_info

A lot of file system code expects a non-const inode pointer.  Dropping
the const qualifier here allows using the inode pointer in
verify_data_block and prepares for further argument reductions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Link: https://lore.kernel.org/r/20260202060754.270269-6-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/verity/fsverity_private.h
fs/verity/open.c
fs/verity/verify.c