]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: don't build the fsverity work handler for !CONFIG_FS_VERITY
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Jan 2026 15:26:16 +0000 (16:26 +0100)
committerEric Biggers <ebiggers@kernel.org>
Thu, 29 Jan 2026 17:39:41 +0000 (09:39 -0800)
commit6f9fae2f738c41c22ee90778ff8fc069de379472
tree32ba88c38946d88a29ac716fbcc49578036bf9c1
parentfb26616459098323eeda67b4f30786743191171b
f2fs: don't build the fsverity work handler for !CONFIG_FS_VERITY

Use IS_ENABLED to disable this code, leading to a slight size reduction:

   text    data     bss     dec     hex filename
  25709    2412      24   28145    6df1 fs/f2fs/compress.o.old
  25198    2252      24   27474    6b52 fs/f2fs/compress.o

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260128152630.627409-5-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/f2fs/compress.c