]> Gentwo Git Trees - linux/.git/commit
fs: Make wbc_to_tag() inline and use it in fs.
authorJulian Sun <sunjunchao@bytedance.com>
Mon, 29 Sep 2025 11:13:49 +0000 (19:13 +0800)
committerChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 22:33:48 +0000 (23:33 +0100)
commit4952f35f0545f3b53dab8d5fd727c4827c2a2778
tree0cc0563c7281223a21f18ebedf01adff666d775d
parent891bea757c771dca47e871444faecb1ed642a311
fs: Make wbc_to_tag() inline and use it in fs.

The logic in wbc_to_tag() is widely used in file systems, so modify this
function to be inline and use it in file systems.

This patch has only passed compilation tests, but it should be fine.

Signed-off-by: Julian Sun <sunjunchao@bytedance.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/extent_io.c
fs/ceph/addr.c
fs/ext4/inode.c
fs/f2fs/data.c
fs/gfs2/aops.c
include/linux/writeback.h
mm/page-writeback.c