aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-04-17 11:17:02 +0200
committerDavid Sterba <dsterba@suse.com>2025-05-15 14:30:47 +0200
commited50ab0fec1a881a379bea7187994ff6cbe2fc58 (patch)
treef9c589fb6a275851d593f2c2016c6a9cd40f9606 /fs/btrfs/tree-log.c
parentbtrfs: add debug build only WARN (diff)
downloadlinux-ed50ab0fec1a881a379bea7187994ff6cbe2fc58.tar.gz
linux-ed50ab0fec1a881a379bea7187994ff6cbe2fc58.zip
btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARN
Use the conditional warning instead of typing the whole condition. Optional message is printed where it seems clear what could be the problem. Conversion is left out in btree_csum_one_bio() because of the additional condition. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions