aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2024-08-22 10:35:30 +0800
committerTheodore Ts'o <[email protected]>2024-09-03 22:12:17 -0400
commit369c944ed1d7c3fb7b35f24e4735761153afe7b3 (patch)
treeeae2abbd9573a20035b55fb8da7347a252170d34 /lib/crypto/mpi/mpi-sub-ui.c
parent6c2b3246cd0b951338c54b10f8ca13c59a41c86a (diff)
ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
Even though ext4_find_extent() returns an error, ext4_insert_range() still returns 0. This may confuse the user as to why fallocate returns success, but the contents of the file are not as expected. So propagate the error returned by ext4_find_extent() to avoid inconsistencies. Fixes: 331573febb6a ("ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate") Cc: [email protected] Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Ojaswin Mujoo <[email protected]> Tested-by: Ojaswin Mujoo <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions