Re: [PATCH v7 03/22] ovl: use core fsverity ensure info interface

Christoph Hellwig <[email protected]> Wed, 15 Apr 2026 07:23:03 +0200
Newsgroups dev.linux.lists.fsverity,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Tue, Apr 14, 2026 at 03:53:36PM +0200, Andrey Albershteyn wrote:
> > > +	if (fsverity_active(inode))
> > > +		fsverity_ensure_verity_info(inode);
> > 
> > fsverity_ensure_verity_info already is a no-op for !fsverity_active,
> > so the check could be remove.
> 
> I don't think it is. For non-fsverity inodes it will try to call into
> descriptor reading callback and fail.

You're right, sorry for the noise.