[f2fs-dev] [PATCH v2] fs: Make wbc_to_tag() inline and use it in fs.

2025-10-18 Thread Julian Sun via Linux-f2fs-devel
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 --- fs/btrfs/extent_io.c | 5 + fs/ceph/addr.c| 6 +-

[f2fs-dev] [PATCH] fs: Make wbc_to_tag() extern and use it in fs.

2025-10-18 Thread Julian Sun via Linux-f2fs-devel
The logic in wbc_to_tag() is widely used in file systems, so modify this function to be extern and use it in file systems. This patch has only passed compilation tests, but it should be fine. Signed-off-by: Julian Sun --- fs/btrfs/extent_io.c | 5 + fs/ceph/addr.c| 6 +-