aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-04-25 11:01:44 +0000
committerDavid Sterba <[email protected]>2018-05-28 16:07:27 +0000
commitf9fbcaa2a3221f55a8eee319e4b2d532635e002e (patch)
treef3031bbe4020b19928c92f9bcbd7dfdeb46ad0ee /fs/btrfs/dev-replace.c
parentbtrfs: move btrfs_raid_group values to btrfs_raid_attr table (diff)
downloadkernel-f9fbcaa2a3221f55a8eee319e4b2d532635e002e.tar.gz
kernel-f9fbcaa2a3221f55a8eee319e4b2d532635e002e.zip
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 <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions