Searched refs:seed_devices (Results 1 – 1 of 1) sorted by relevance
2470 struct btrfs_fs_devices *seed_devices; in btrfs_init_sprout() local2480 seed_devices = alloc_fs_devices(NULL); in btrfs_init_sprout()2481 if (IS_ERR(seed_devices)) in btrfs_init_sprout()2482 return seed_devices; in btrfs_init_sprout()2492 kfree(seed_devices); in btrfs_init_sprout()2498 memcpy(seed_devices, fs_devices, sizeof(*seed_devices)); in btrfs_init_sprout()2499 seed_devices->opened = 1; in btrfs_init_sprout()2500 INIT_LIST_HEAD(&seed_devices->devices); in btrfs_init_sprout()2501 INIT_LIST_HEAD(&seed_devices->alloc_list); in btrfs_init_sprout()2502 mutex_init(&seed_devices->device_list_mutex); in btrfs_init_sprout()[all …]