btrfs: use our message helpers instead of pr_err/pr_warn/pr_info
authorDavid Sterba <dsterba@suse.com>
Fri, 20 Jun 2025 16:06:45 +0000 (18:06 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:58:04 +0000 (23:58 +0200)
commit44cac5234104bb25e57dc75b8d5e6c5c26c384fb
tree5f0a30001cda3a053e8e3b97aabaee5b70a9e208
parent27260dd1904bb409cf84709928ba9bc5506fbe8e
btrfs: use our message helpers instead of pr_err/pr_warn/pr_info

Our message helpers accept NULL for the fs_info in the context that does
not provide and print the common header of the message. The use of pr_*
helpers is only for special reasons, like module loading, device
scanning or multi-line output (print-tree).

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/disk-io.c
fs/btrfs/extent-io-tree.c
fs/btrfs/extent_io.c
fs/btrfs/print-tree.c
fs/btrfs/sysfs.c
fs/btrfs/volumes.c
fs/btrfs/zstd.c