summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2017-10-09 11:07:44 +0800
committerDavid Sterba <dsterba@suse.com>2017-10-30 12:27:59 +0100
commit45dbdbc9f66c749fa329130dcd641eb0606129d0 (patch)
treec7af973c79ef4db8951e8b2cf2f588857d9c6e11 /fs/btrfs/volumes.h
parentadfb69af7d8cb6a3958f75aad1ef4bc96891d116 (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>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions