]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: replace f_rcuhead with f_task_work
authorChristian Brauner <brauner@kernel.org>
Thu, 30 Nov 2023 12:49:09 +0000 (13:49 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 12 Dec 2023 13:24:13 +0000 (14:24 +0100)
commit372a34e66fb7f95124fadae9c600b231c35696a7
tree5edc7444222b13d09d807f9bad860534c1a1b6e5
parent24fa3ae9467f49dd9698fd884f2c6b13cc8ea12d
fs: replace f_rcuhead with f_task_work

The naming is actively misleading since we switched to
SLAB_TYPESAFE_BY_RCU. rcu_head is #define callback_head. Use
callback_head directly and rename f_rcuhead to f_task_work.

Add comments in there to explain what it's used for.

Link: https://lore.kernel.org/r/20231130-vfs-files-fixes-v1-3-e73ca6f4ea83@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/file_table.c
include/linux/fs.h