Skip to content
Commit 2b902dfc authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

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: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
[ switch error to bool ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 5a2b8e60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment