Commit 2f3f1ad7 authored by David Sterba's avatar David Sterba
Browse files

btrfs: simplify debug print helpers without enabled printk



The btrfs_debug() helpers depend on various config options. In case of
"no_printk" we don't need to define a special helper that in the end
does nothing but validates the parameters. As the default build config
is to validate the parameters we can simplify it to let the debug
helpers expand to nothing and remove btrfs_no_printk_in_rcu().

To avoid warnings use fs_info and inline one variable in
extent_from_logical().

Reviewed-by: default avatarDaniel Vacek <neelx@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent f9095103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment