commit | 45dbdbc9f66c749fa329130dcd641eb0606129d0 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Mon Oct 09 11:07:44 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:27:59 2017 +0100 |
tree | c7af973c79ef4db8951e8b2cf2f588857d9c6e11 | |
parent | adfb69af7d8cb6a3958f75aad1ef4bc96891d116 [diff] |
btrfs: fix EIO misuse to report missing degraded option EIO is only for the IO failure to the device, avoid it. Use ENOENT as that's the closest error code describing what happened. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> [ update changelog ] Signed-off-by: David Sterba <dsterba@suse.com>