commit | f9fbcaa2a3221f55a8eee319e4b2d532635e002e | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Wed Apr 25 19:01:44 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:27 2018 +0200 |
tree | f3031bbe4020b19928c92f9bcbd7dfdeb46ad0ee | |
parent | 41a6e8913cdff6b30ac53a24641259d117c0b101 [diff] |
btrfs: move btrfs_raid_mindev_errorvalues to btrfs_raid_attr table Add a new member struct btrfs_raid_attr::mindev_error so that btrfs_raid_array can maintain the error code to return if the minimum number of devices condition is not met while trying to delete a device in the given raid. And so we can drop btrfs_raid_mindev_error. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>