diff options
author | Xianting Tian <[email protected]> | 2020-08-18 13:42:06 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2020-09-24 16:44:44 -0700 |
commit | 313b825fa218bef78419d7b4092c1f4af222335d (patch) | |
tree | b7de3d05d4a9a14a9e779667beb79d4cf8911c60 /scripts/gdb/linux/modules.py | |
parent | 0905053bdb5b7ba77ad0c2e5cfc4787c1db3d4f1 (diff) |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions