aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/async_tx.h
diff options
context:
space:
mode:
authorXianting Tian <tian.xianting@h3c.com>2020-08-18 13:42:06 +0800
committerSong Liu <songliubraving@fb.com>2020-09-24 16:44:44 -0700
commit313b825fa218bef78419d7b4092c1f4af222335d (patch)
treeb7de3d05d4a9a14a9e779667beb79d4cf8911c60 /include/linux/async_tx.h
parentnull_blk: Support shared tag bitmap (diff)
downloadlinux-rng-313b825fa218bef78419d7b4092c1f4af222335d.tar.xz
linux-rng-313b825fa218bef78419d7b4092c1f4af222335d.zip
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: Xianting Tian <tian.xianting@h3c.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'include/linux/async_tx.h')
0 files changed, 0 insertions, 0 deletions