mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
erofs: get rid of raw bi_end_io() usage
[ Upstream commit80d0c27a0a] These BIOs are actually harmless in practice, as they are all pseudo BIOs and do not use advanced features like chaining. Using the BIO interface is a more friendly and unified approach for both bdev and and file-backed I/Os (compared to awkward bvec interfaces). Let's use bio_endio() instead. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Stable-dep-of:bc804a8d7e("erofs: handle end of filesystem properly for file-backed mounts") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
cc09d55f51
commit
113eac582c
2 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue