|
@@ -1988,6 +1988,9 @@ static int btrfs_prepare_sprout(struct btrfs_root *root)
|
|
|
fs_devices->seeding = 0;
|
|
|
fs_devices->num_devices = 0;
|
|
|
fs_devices->open_devices = 0;
|
|
|
+ fs_devices->missing_devices = 0;
|
|
|
+ fs_devices->num_can_discard = 0;
|
|
|
+ fs_devices->rotating = 0;
|
|
|
fs_devices->seed = seed_devices;
|
|
|
|
|
|
generate_random_uuid(fs_devices->fsid);
|