Skip to content
Commit 46bac535 authored by Xianting Tian's avatar Xianting Tian Committed by Theodore Ts'o
Browse files

ext4: remove the null check of bio_vec page



bv_page can't be NULL in a valid bio_vec, so we can remove the NULL check,
as we did in other places when calling bio_for_each_segment_all() to go
through all bio_vec of a bio.

Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarXianting Tian <tian.xianting@h3c.com>
Link: https://lore.kernel.org/r/20201020082201.34257-1-tian.xianting@h3c.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 7b721e6d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment