ext4: use LIST_HEAD() to initialize the list_head in mballoc.c
authorRuan Jinjie <ruanjinjie@huawei.com>
Sat, 12 Aug 2023 07:18:39 +0000 (15:18 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Aug 2023 15:27:13 +0000 (11:27 -0400)
commit0f6bc57971c63f7352c3564d19a5dc707fe8332a
tree040cc86ff052c6a4f0f173af94756490c538d053
parent03de20bed203b0819225d4de98353c1f8755a1dd
ext4: use LIST_HEAD() to initialize the list_head in mballoc.c

Use LIST_HEAD() to initialize the list_head instead of open-coding it.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230812071839.3481909-1-ruanjinjie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c