btrfs: merge btrfs_dev_stat_print_on_error with its only caller
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Jul 2022 11:37:23 +0000 (13:37 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:42 +0000 (17:45 +0200)
commitd28beb3e8131b3cb322052410d8ad20c4a841c83
treee43e32b978e5f62f76eccd9c70192f08bc1a3fc9
parent723df2bcc9e166ac7fb82b3932a53e09415dfcde
btrfs: merge btrfs_dev_stat_print_on_error with its only caller

Fold it into the only caller.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c