diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-05-05 18:19:13 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-05-08 14:47:42 -0700 |
commit | d74999c8c060dfeaf9977b91baa3c795fc183a84 (patch) | |
tree | e3d1ecd4ffe97b036020d41f16277c44ff839f49 /fs/exec.c | |
parent | b71450e2cc4b3c79f33c5bd276d152af9bd54f79 (diff) |
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 <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions