diff options
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 95f6637614db..53c06af92e8d 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -126,6 +126,7 @@ struct btrfs_fs_devices { | |||
126 | u64 missing_devices; | 126 | u64 missing_devices; |
127 | u64 total_rw_bytes; | 127 | u64 total_rw_bytes; |
128 | u64 num_can_discard; | 128 | u64 num_can_discard; |
129 | u64 total_devices; | ||
129 | struct block_device *latest_bdev; | 130 | struct block_device *latest_bdev; |
130 | 131 | ||
131 | /* all of the devices in the FS, protected by a mutex | 132 | /* all of the devices in the FS, protected by a mutex |
@@ -288,13 +289,10 @@ int btrfs_cancel_balance(struct btrfs_fs_info *fs_info); | |||
288 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); | 289 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); |
289 | int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, | 290 | int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, |
290 | u64 *start, u64 *max_avail); | 291 | u64 *start, u64 *max_avail); |
291 | struct btrfs_device *btrfs_find_device_for_logical(struct btrfs_root *root, | ||
292 | u64 logical, int mirror_num); | ||
293 | void btrfs_dev_stat_print_on_error(struct btrfs_device *device); | 292 | void btrfs_dev_stat_print_on_error(struct btrfs_device *device); |
294 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); | 293 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); |
295 | int btrfs_get_dev_stats(struct btrfs_root *root, | 294 | int btrfs_get_dev_stats(struct btrfs_root *root, |
296 | struct btrfs_ioctl_get_dev_stats *stats, | 295 | struct btrfs_ioctl_get_dev_stats *stats); |
297 | int reset_after_read); | ||
298 | int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info); | 296 | int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info); |
299 | int btrfs_run_dev_stats(struct btrfs_trans_handle *trans, | 297 | int btrfs_run_dev_stats(struct btrfs_trans_handle *trans, |
300 | struct btrfs_fs_info *fs_info); | 298 | struct btrfs_fs_info *fs_info); |