aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2024-03-20 19:05:48 +0800
committerChristian Brauner <[email protected]>2024-04-25 14:23:54 +0200
commite1f453d4336d5d7fbbd1910532201b4a07a20a5c (patch)
tree721e2ddfe5241417bfadf5794cf42c37b66f1701 /lib/memory-notifier-error-inject.c
parent815f4b633ba1c9c6a151f251616f23e2407fcf24 (diff)
iomap: do some small logical cleanup in buffered write
Since iomap_write_end() can never return a partial write length, the comparison between written, copied and bytes becomes useless, just merge them with the unwritten branch. 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