]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: convert log messages to error level in btrfs_replay_log()
authorFilipe Manana <fdmanana@suse.com>
Mon, 9 Feb 2026 09:49:49 +0000 (09:49 +0000)
committerDavid Sterba <dsterba@suse.com>
Thu, 26 Feb 2026 14:03:27 +0000 (15:03 +0100)
commit912db40655684a0a427c8b118dd0c36eb5a61fe4
tree1c4ab05d6d78e590f8c96dbb5186ec7c2f10562e
parent4db8d56c6f4cbea7293d4236efac4a507dbfa6b1
btrfs: convert log messages to error level in btrfs_replay_log()

We are logging messages as warnings but they should really have an error
level instead, as if the respective conditions are met the mount will
fail. So convert them to error level and also log the error code returned
by read_tree_block().

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c