Searched hist:"637 d3375" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 637d3375 Thu Jul 15 11:58:05 CDT 2021 Andreas Gruenbacher <agruenba@redhat.com> iomap: Don't create iomap_page objects for inline files
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@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
|