]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: use is_power_of_2 helper in ext4_mb_regular_allocator
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 1 Aug 2023 14:31:58 +0000 (22:31 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Aug 2023 14:47:30 +0000 (10:47 -0400)
commitbb60caa2db6697c20a0842b5b3c192aa1800da1a
treeaaf7a0efed2a24e8b397083670ce927debf6d0d1
parent919eb90cec4049cecf4a9f996afb0f14e3864fca
ext4: use is_power_of_2 helper in ext4_mb_regular_allocator

Use intuitive is_power_of_2 helper in ext4_mb_regular_allocator.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20230801143204.2284343-5-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c