aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2024-03-20 19:05:44 +0800
committerChristian Brauner <[email protected]>2024-04-25 14:23:53 +0200
commit89c6c1d91ab2dc05c6f4ad504b03169aa32694cc (patch)
tree45df566563d52faa2a5657f859fa8f03258711fe /lib/memory-notifier-error-inject.c
parent0fac04e4e0ea9ca51ac16d1a3d0e5dfe2919a6dd (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