Re: [PATCH] fs: constify inode argument of inode_state_read_once()

From: Andrey Albershteyn

Date: Wed Nov 11 2026 - 11:44:44 EST


On 2026-11-11 16:20:54, Christoph Hellwig wrote:
> 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>

Thanks!

>
> > 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..

Yeah, make sense, I will include it as a part of the series then

--
- Andrey