summaryrefslogtreecommitdiff
path: root/lib/textsearch.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-07-15 19:58:05 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-07-15 19:58:05 +0300
commit637d3375953e052a62c0db409557e3b3354be88a (patch)
treec94345add21f71bc52fde903629875a082ff998c /lib/textsearch.c
parent8e1bcef8e18d0fec4afe527c074bb1fd6c2b140c (diff)
downloadlinux-637d3375953e052a62c0db409557e3b3354be88a.tar.xz
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 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions