commit | 2b902dfc896ffab875842ed62820dca0b99ff461 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Mon Oct 09 11:07:46 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:27:59 2017 +0100 |
tree | 9509172649c45b93faa70fdd5a615befcd16d3b2 | |
parent | 5a2b8e601c572527adfc4986941311c21effae6c [diff] |
btrfs: fix use of error or warning for missing device When device is missing without the -o degraded option then its an error so report it as an error instead of a warning. And when -o degraded option is provided, log the missing device as warning. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> [ switch error to bool ] Signed-off-by: David Sterba <dsterba@suse.com>