summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-05-02 13:28:03 +0800
committerDavid Sterba <dsterba@suse.com>2018-05-30 16:46:43 +0200
commit9593bf49675efc5567c9bdb8c51cdb204b6f85b3 (patch)
tree1ad13b58c54e0e47ce2a1c934bef47f8fc7f0f7d /samples
parentfd4e994bd1f9dc9628e168a7f619bf69f6984635 (diff)
downloadlinux-stable-9593bf49675efc5567c9bdb8c51cdb204b6f85b3.tar.gz
linux-stable-9593bf49675efc5567c9bdb8c51cdb204b6f85b3.tar.bz2
linux-stable-9593bf49675efc5567c9bdb8c51cdb204b6f85b3.zip
btrfs: qgroup: show more meaningful qgroup_rescan_init error message
Error message from qgroup_rescan_init() mostly looks like: BTRFS info (device nvme0n1p1): qgroup_rescan_init failed with -115 Which is far from meaningful, and sometimes confusing as for above -EINPROGRESS it's mostly (despite the init race) harmless, but sometimes it can also indicate problem if the return value is -EINVAL. Change it to some more meaningful messages like: BTRFS info (device nvme0n1p1): qgroup rescan is already in progress And BTRFS err(device nvme0n1p1): qgroup rescan init failed, qgroup is not enabled Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> [ update the messages and level ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions