diff options
| author | David Sterba <dsterba@suse.com> | 2025-12-09 18:10:30 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:49:09 +0100 |
| commit | c53d61e24086fc7893fa03b148f930c08bd3cd77 (patch) | |
| tree | 61c89e5c09e148646b1ee043bca85f9f1db39845 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | a464ed9834d76e0709c55b2c763063751d0f35df (diff) | |
btrfs: simplify internal btrfs_printk helpers
The printk() can be compiled out depending on CONFIG_PRINTK, this is
reflected in our helpers. The indirection is provided by btrfs_printk()
used in the ratelimited and RCU wrapper macros.
Drop the btrfs_printk() helper and define the ratelimit and RCU helpers
directly when CONFIG_PRINTK is undefined. This will allow further
changes to the _btrfs_printk() interface (which is internal), any
message in other code should use the level-specific helpers.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
