|
@@ -319,7 +319,6 @@ static struct btrfs_device *__alloc_device(void)
|
|
|
|
|
|
spin_lock_init(&dev->io_lock);
|
|
spin_lock_init(&dev->io_lock);
|
|
|
|
|
|
- spin_lock_init(&dev->reada_lock);
|
|
|
|
atomic_set(&dev->reada_in_flight, 0);
|
|
atomic_set(&dev->reada_in_flight, 0);
|
|
atomic_set(&dev->dev_stats_ccnt, 0);
|
|
atomic_set(&dev->dev_stats_ccnt, 0);
|
|
btrfs_device_data_ordered_init(dev);
|
|
btrfs_device_data_ordered_init(dev);
|