aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2022-05-06 01:19:13 +0000
committerDarrick J. Wong <[email protected]>2022-05-08 21:47:42 +0000
commitd74999c8c060dfeaf9977b91baa3c795fc183a84 (patch)
treee3d1ecd4ffe97b036020d41f16277c44ff839f49 /fs/jbd2/commit.c
parentiomap: iomap_write_failed fix (diff)
downloadkernel-d74999c8c060dfeaf9977b91baa3c795fc183a84.tar.gz
kernel-d74999c8c060dfeaf9977b91baa3c795fc183a84.zip
iomap: iomap_write_end cleanup
In iomap_write_end(), only call iomap_write_failed() on the byte range that has failed. This should improve code readability, but doesn't fix an actual bug because iomap_write_failed() is called after updating the file size here and it only affects the memory beyond the end of the file. Signed-off-by: Andreas Gruenbacher <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions