Skip to content
Commit 1595f153 authored by Sheng Yong's avatar Sheng Yong Committed by Gao Xiang
Browse files

erofs: set error to bio if file-backed IO fails



If a file-backed IO fails before submitting the bio to the lower
filesystem, an error is returned, but the bio->bi_status is not
marked as an error. However, the error information should be passed
to the end_io handler. Otherwise, the IO request will be treated as
successful.

Fixes: 28321371 ("erofs: support compressed inodes for fileio")
Signed-off-by: default avatarSheng Yong <shengyong1@xiaomi.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250408122351.2104507-1-shengyong1@xiaomi.com


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 0af2f6be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment