From eb37ad93869091ee69bb8f1eb00f8484497e85f6 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 30 Sep 2025 15:28:42 +0530 Subject: [PATCH] linux/common-config: only enable BCACHEFS things between versions 6.7 and 6.17 Bcachefs core code has been removed from upstream linux for 6.18. Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2c61db29f277b9c80de92102fc532cc247495cd --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 069f4b6c94a3..e5016ccb87fa 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -708,8 +708,8 @@ let BTRFS_FS_POSIX_ACL = yes; - BCACHEFS_QUOTA = whenAtLeast "6.7" (option yes); - BCACHEFS_POSIX_ACL = whenAtLeast "6.7" (option yes); + BCACHEFS_QUOTA = whenBetween "6.7" "6.18" (option yes); + BCACHEFS_POSIX_ACL = whenBetween "6.7" "6.18" (option yes); UBIFS_FS_ADVANCED_COMPR = option yes;