diff options
author | Zhang Yi <[email protected]> | 2024-03-20 19:05:44 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-04-25 14:23:53 +0200 |
commit | 89c6c1d91ab2dc05c6f4ad504b03169aa32694cc (patch) | |
tree | 45df566563d52faa2a5657f859fa8f03258711fe /lib/memory-notifier-error-inject.c | |
parent | 0fac04e4e0ea9ca51ac16d1a3d0e5dfe2919a6dd (diff) |
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions