diff options
| author | Andreas Gruenbacher <[email protected]> | 2021-07-15 16:58:05 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-07-15 16:58:05 +0000 |
| commit | 637d3375953e052a62c0db409557e3b3354be88a (patch) | |
| tree | c94345add21f71bc52fde903629875a082ff998c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | iomap: Permit pages without an iop to enter writeback (diff) | |
| download | kernel-637d3375953e052a62c0db409557e3b3354be88a.tar.gz kernel-637d3375953e052a62c0db409557e3b3354be88a.zip | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
