Skip to content
Commit 313b825f authored by Xianting Tian's avatar Xianting Tian Committed by Song Liu
Browse files

md: only calculate blocksize once and use i_blocksize()



We alreday has the interface i_blocksize(), which can be used
to get blocksize, so use it.
Only calculate blocksize once and use it within read_page().

Signed-off-by: default avatarXianting Tian <tian.xianting@h3c.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 0905053b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment