Commit 4469e95
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>1 parent 0f2bc22 commit 4469e95
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3752 | 3752 | | |
3753 | 3753 | | |
3754 | 3754 | | |
3755 | | - | |
3756 | | - | |
| 3755 | + | |
| 3756 | + | |
3757 | 3757 | | |
3758 | 3758 | | |
3759 | 3759 | | |
| |||
3772 | 3772 | | |
3773 | 3773 | | |
3774 | 3774 | | |
3775 | | - | |
3776 | | - | |
| 3775 | + | |
| 3776 | + | |
3777 | 3777 | | |
3778 | 3778 | | |
3779 | 3779 | | |
| |||
0 commit comments