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: Anand Jain
---
v3: fix compile warning, use ASSERT, minor comment update, based on for-next
v2: added
On 04/25/2016 11:15 PM, David Sterba wrote:
On Mon, Apr 18, 2016 at 07:25:52PM +0800, Anand Jain wrote:
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: Anand Jain
On Mon, Apr 18, 2016 at 07:25:52PM +0800, Anand Jain wrote:
> 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: Anand Jain
> ---
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: Anand Jain
---
fs/btrfs/dev-replace.c | 8 +++-
fs/btrfs/volumes.c | 51
Creates helper function 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: Anand Jain
Reported-by: Yauhen Kharuzhy
---
fs/btrfs/dev-replace.c | 8