diff options
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index f6247e2a47f7..86705583480d 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -316,11 +316,13 @@ int btrfs_recover_balance(struct btrfs_fs_info *fs_info); | |||
316 | int btrfs_pause_balance(struct btrfs_fs_info *fs_info); | 316 | int btrfs_pause_balance(struct btrfs_fs_info *fs_info); |
317 | int btrfs_cancel_balance(struct btrfs_fs_info *fs_info); | 317 | int btrfs_cancel_balance(struct btrfs_fs_info *fs_info); |
318 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); | 318 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); |
319 | int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, | 319 | int find_free_dev_extent(struct btrfs_trans_handle *trans, |
320 | struct btrfs_device *device, u64 num_bytes, | ||
320 | u64 *start, u64 *max_avail); | 321 | u64 *start, u64 *max_avail); |
321 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); | 322 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); |
322 | int btrfs_get_dev_stats(struct btrfs_root *root, | 323 | int btrfs_get_dev_stats(struct btrfs_root *root, |
323 | struct btrfs_ioctl_get_dev_stats *stats); | 324 | struct btrfs_ioctl_get_dev_stats *stats); |
325 | void btrfs_init_devices_late(struct btrfs_fs_info *fs_info); | ||
324 | int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info); | 326 | int btrfs_init_dev_stats(struct btrfs_fs_info *fs_info); |
325 | int btrfs_run_dev_stats(struct btrfs_trans_handle *trans, | 327 | int btrfs_run_dev_stats(struct btrfs_trans_handle *trans, |
326 | struct btrfs_fs_info *fs_info); | 328 | struct btrfs_fs_info *fs_info); |
@@ -336,6 +338,9 @@ int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, | |||
336 | unsigned long btrfs_full_stripe_len(struct btrfs_root *root, | 338 | unsigned long btrfs_full_stripe_len(struct btrfs_root *root, |
337 | struct btrfs_mapping_tree *map_tree, | 339 | struct btrfs_mapping_tree *map_tree, |
338 | u64 logical); | 340 | u64 logical); |
341 | int btrfs_finish_chunk_alloc(struct btrfs_trans_handle *trans, | ||
342 | struct btrfs_root *extent_root, | ||
343 | u64 chunk_offset, u64 chunk_size); | ||
339 | static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, | 344 | static inline void btrfs_dev_stat_inc(struct btrfs_device *dev, |
340 | int index) | 345 | int index) |
341 | { | 346 | { |