Re: [PATCH 1/6] btrfs: do not check for ->num_devices == 0 in rm_device
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-07-27 22:42:34
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-07-27 22:42:34
On 7/27/21 6:35 PM, Anand Jain wrote:
On 28/07/2021 03:47, Josef Bacik wrote:quoted
We're specifically prohibited from removing the last device in a file system, so this check is meaningless and the code can be deleted.Josef, That's not true when removing a seed device from the sprouted filesystem.
Yeah I'm an idiot and noticed this immediately after I hit send, you'll see I fixed it in v2 that I sent like an hour later. Thanks, Josef