Re: [PATCH] fs: constify inode argument of inode_state_read_once()
From: Christoph Hellwig
Date: Wed Nov 11 2026 - 11:19:52 EST
On Wed, Nov 11, 2026 at 11:01:49AM +0100, Andrey Albershteyn wrote:
> Constify inode parameter so that callers can pass const inode. Callers
> do not need a change.
>
> Signed-off-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx>
> ---
Looks good:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Notes:
> I will have a user with const inode in fsverity
> https://lore.kernel.org/fsverity/20261105115532.613467-3-aalbersh@xxxxxxxxxx/
You probably want to include this patch in that series to reduce
the amount of dependency tracking you have to do..