]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: include error on messages about failure to write space/inode caches
authorFilipe Manana <fdmanana@suse.com>
Mon, 18 May 2020 16:34:11 +0000 (17:34 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:38 +0000 (11:25 +0200)
commitbada19c2eaf3503fbee838a72da4c78109b78f01
treedf0b98451a7236147944104c21cf346189ff9320
parent3134e2d8d29b83d2086f04031724c7041261a863
btrfs: include error on messages about failure to write space/inode caches

Currently the error messages logged when we fail to write a free space
cache or an inode cache are not very useful as they don't mention what
was the error. So include the error number in the messages.

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/free-space-cache.c