diff options
| author | Zhang Yi <[email protected]> | 2024-03-20 11:05:44 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-04-25 12:23:53 +0000 |
| commit | 89c6c1d91ab2dc05c6f4ad504b03169aa32694cc (patch) | |
| tree | 45df566563d52faa2a5657f859fa8f03258711fe /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | |
| parent | iomap: convert iomap_writepages to writeack_iter (diff) | |
| download | kernel-89c6c1d91ab2dc05c6f4ad504b03169aa32694cc.tar.gz kernel-89c6c1d91ab2dc05c6f4ad504b03169aa32694cc.zip | |
iomap: drop the write failure handles when unsharing and zeroing
Unsharing and zeroing can only happen within EOF, so there is never a
need to perform posteof pagecache truncation if write begin fails, also
partial write could never theoretically happened from iomap_write_end(),
so remove both of them.
Signed-off-by: Zhang Yi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions
