use bio_endio instead of a call to bi_end_io
Turn calls to bi->bi_end_io() into bio_endio(). Apparently bio_endio does exactly the same error processing as is hardcoded at these places. bio_endio() avoids recursion (or will soon), so it should be used. Signed-off-by: NMikulas Patocka <mpatocka@redhat.com> Signed-off-by: NNeil Brown <neilb@suse.de>
Showing
想要评论请 注册 或 登录