diff options
author | Anand Jain <anand.jain@oracle.com> | 2017-10-09 11:07:46 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 12:27:59 +0100 |
commit | 2b902dfc896ffab875842ed62820dca0b99ff461 (patch) | |
tree | 9509172649c45b93faa70fdd5a615befcd16d3b2 /fs/pstore/pmsg.c | |
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>
Diffstat (limited to 'fs/pstore/pmsg.c')
0 files changed, 0 insertions, 0 deletions