On Mon, Aug 17, 2020 at 10:49 PM Xianting Tian wrote:
>
> 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
Thanks for the patch. Applied to md-next.
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
---
drivers/md/md-bitmap.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
2 matches
Mail list logo