From: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxxx> Commit dc9025c1a4d8 ("btrfs: move ref-verify under CONFIG_BTRFS_DEBUG") removes config BTRFS_FS_REF_VERIFY and adds its functionality under config BTRFS_DEBUG. This change misses a reference to BTRFS_FS_REF_VERIFY in the btrfs_init_data_ref() function, though. Replace this reference to BTRFS_FS_REF_VERIFY in the btrfs_init_data_ref() with BTRFS_DEBUG. Fixes: dc9025c1a4d8 ("btrfs: move ref-verify under CONFIG_BTRFS_DEBUG") Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxxx> --- fs/btrfs/delayed-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/delayed-ref.c b/fs/btrfs/delayed-ref.c index f91062fc1b0b..6170803d8a1b 100644 --- a/fs/btrfs/delayed-ref.c +++ b/fs/btrfs/delayed-ref.c @@ -969,7 +969,7 @@ void btrfs_init_tree_ref(struct btrfs_ref *generic_ref, int level, u64 mod_root, void btrfs_init_data_ref(struct btrfs_ref *generic_ref, u64 ino, u64 offset, u64 mod_root, bool skip_qgroup) { -#ifdef CONFIG_BTRFS_FS_REF_VERIFY +#ifdef CONFIG_BTRFS_DEBUG /* If @real_root not set, use @root as fallback */ generic_ref->real_root = mod_root ?: generic_ref->ref_root; #endif -- 2.50.1