[Cluster-devel] [PATCH v3 2/3] iomap: Don't create iomap_page objects for inline files

Christoph Hellwig hch at infradead.org
Fri Jul 9 06:20:09 UTC 2021

On Wed, Jul 07, 2021 at 01:55:23PM +0200, Andreas Gruenbacher wrote:
> In iomap_readpage_actor, don't create iop objects for inline inodes.
> Otherwise, iomap_read_inline_data will set PageUptodate without setting
> iop->uptodate, and iomap_page_release will eventually complain.
> To prevent this kind of bug from occurring in the future, make sure the
> page doesn't have private data attached in iomap_read_inline_data.
> Signed-off-by: Andreas Gruenbacher <agruenba at redhat.com>

Ok, given that you want a quick fix this looks good for now:

Reviewed-by: Christoph Hellwig <hch at lst.de>

More information about the Cluster-devel mailing list