diff options
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 825364fae690..4d210a731d40 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -890,6 +890,7 @@ int btrfs_add_device(struct btrfs_trans_handle *trans, | |||
890 | btrfs_set_device_group(leaf, dev_item, 0); | 890 | btrfs_set_device_group(leaf, dev_item, 0); |
891 | btrfs_set_device_seek_speed(leaf, dev_item, 0); | 891 | btrfs_set_device_seek_speed(leaf, dev_item, 0); |
892 | btrfs_set_device_bandwidth(leaf, dev_item, 0); | 892 | btrfs_set_device_bandwidth(leaf, dev_item, 0); |
893 | btrfs_set_device_start_offset(leaf, dev_item, 0); | ||
893 | 894 | ||
894 | ptr = (unsigned long)btrfs_device_uuid(dev_item); | 895 | ptr = (unsigned long)btrfs_device_uuid(dev_item); |
895 | write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); | 896 | write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); |