aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1316139bf9e8..7aa3810d7f69 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -1459,6 +1459,8 @@ static int __btrfs_grow_device(struct btrfs_trans_handle *trans,
1459 device->fs_devices->total_rw_bytes += diff; 1459 device->fs_devices->total_rw_bytes += diff;
1460 1460
1461 device->total_bytes = new_size; 1461 device->total_bytes = new_size;
1462 btrfs_clear_space_info_full(device->dev_root->fs_info);
1463
1462 return btrfs_update_device(trans, device); 1464 return btrfs_update_device(trans, device);
1463} 1465}
1464 1466