Skip to content
Commit 88acff64 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: cleanup assigning next active device with a check



Creates helper fucntion as needed by the device delete
and replace operations. Also now it checks if the next
device being assigned is an active device.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 8ed01abe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment