diff options
| author | Chunguang Xu <[email protected]> | 2020-11-07 15:58:13 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-12-03 14:42:41 +0000 |
| commit | ce3cca337401123c9cf96896fc4e1657bb016bd3 (patch) | |
| tree | 6e662010e865fd521778bb0acbcb01a197d3ee44 /fs/ext4/fast_commit.c | |
| parent | ext4: remove redundant mb_regenerate_buddy() (diff) | |
| download | kernel-ce3cca337401123c9cf96896fc4e1657bb016bd3.tar.gz kernel-ce3cca337401123c9cf96896fc4e1657bb016bd3.zip | |
ext4: simplify the code of mb_find_order_for_block
The code of mb_find_order_for_block is a bit obscure, but we can
simplify it with mb_find_buddy(), make the code more concise.
Signed-off-by: Chunguang Xu <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
