]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: log error codes during failures when writing super blocks
authorFilipe Manana <fdmanana@suse.com>
Sun, 11 May 2025 13:50:08 +0000 (14:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:57 +0000 (14:30 +0200)
commit4469e95fe5d13f1788c6f5eb88d04365fd319a71
treed61abe2513ccf5b6556e669e51f7a71319601330
parent0f2bc221507fa1e787b87c783f4c699e5feb8957
btrfs: log error codes during failures when writing super blocks

When writing super blocks, at write_dev_supers(), we log an error message
when we get some error but we don't show which error we got and we have
that information. So enhance the error messages with the error codes.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
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