]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: use LIST_HEAD() to simplify code
authorHongbo Li <lihongbo22@huawei.com>
Wed, 21 Aug 2024 06:54:56 +0000 (14:54 +0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 06:22:40 +0000 (08:22 +0200)
commit73ce1c9fce70ec6f1fcfaf3da51d0b58368b44f3
treeb740ba63f0d1270dbcb549797fa1750d8b5d104a
parent41b734352c1314807e2eea610023a9d9a340070f
fs: use LIST_HEAD() to simplify code

list_head can be initialized automatically with LIST_HEAD()
instead of calling INIT_LIST_HEAD().

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240821065456.2294216-1-lihongbo22@huawei.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/buffer.c