Skip to content

Commit e900909

Browse files
nathanchancetorvalds
authored andcommitted
btrfs: use generic Kconfig option for 256kB page size limit
Use the newly introduced CONFIG_PAGE_SIZE_LESS_THAN_256KB to describe the dependency introduced by commit b05fbcc ("btrfs: disable build on platforms having page size 256K"). Link: https://lkml.kernel.org/r/20211129230141.228085-3-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org> Acked-by: David Sterba <dsterba@suse.com> Cc: Chris Mason <clm@fb.com> Cc: Josef Bacik <josef@toxicpanda.com> Cc: kernel test robot <lkp@intel.com> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e4bbd20 commit e900909

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fs/btrfs/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ config BTRFS_FS
1818
select RAID6_PQ
1919
select XOR_BLOCKS
2020
select SRCU
21-
depends on !PPC_256K_PAGES # powerpc
22-
depends on !PAGE_SIZE_256KB # hexagon
21+
depends on PAGE_SIZE_LESS_THAN_256KB
2322

2423
help
2524
Btrfs is a general purpose copy-on-write filesystem with extents,

0 commit comments

Comments
 (0)