ext4: mballoc: refactor code inside DOUBLE_CHECK into separate function
authorRitesh Harjani <riteshh@linux.ibm.com>
Sun, 10 May 2020 06:24:48 +0000 (11:54 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:52 +0000 (23:16 -0400)
commita345021553f7e6343b05b1ad1c25ed931140b47c
tree451a12c4a3124ab259b3a1079c0ed64f8019a5f9
parent4fca8f07790a62c2b3da028ae423cf4d71c1bacd
ext4: mballoc: refactor code inside DOUBLE_CHECK into separate function

This patch implemets mb_group_bb_bitmap_alloc() and
mb_group_bb_bitmap_free() function to remove #ifdef DOUBLE_CHECK macro
and it's related code from inside
ext4_mb_add_groupinfo()/ext4_mb_release().

There should be no functionality change in this patch.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/8c2095d74b779f0254a19b24982490dc6f07c4f9.1589086800.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c