diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-03-04 01:21:20 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 01:13:12 -0400 |
commit | 253cacb0de89235673ad5889d61f275a73dbee79 (patch) | |
tree | cef63f1cf41d29498ed0f902a8ef67eb8dbc204a /scripts/gdb/linux/utils.py | |
parent | 46825e949057481ccb1f0e52c512fd52f1938cb3 (diff) |
ext4: simplify calculation of blkoff in ext4_mb_new_blocks_simple
We try to allocate a block from goal in ext4_mb_new_blocks_simple. We
only need get blkoff in first group with goal and set blkoff to 0 for
the rest groups.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://lore.kernel.org/r/20230303172120.3800725-21-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions