diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-07-12 13:02:56 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-07-14 14:23:44 -0700 |
commit | c05405063c04943f10040b164a99c2990be3c187 (patch) | |
tree | c94345add21f71bc52fde903629875a082ff998c /mm | |
parent | 98fee973806ac449ff6ea1b0dd952625b510453e (diff) |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions