diff options
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 062d8604d35b..845ccbb0d2e3 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -254,10 +254,6 @@ int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, | |||
254 | #define btrfs_bio_size(n) (sizeof(struct btrfs_bio) + \ | 254 | #define btrfs_bio_size(n) (sizeof(struct btrfs_bio) + \ |
255 | (sizeof(struct btrfs_bio_stripe) * (n))) | 255 | (sizeof(struct btrfs_bio_stripe) * (n))) |
256 | 256 | ||
257 | int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, | ||
258 | struct btrfs_device *device, | ||
259 | u64 chunk_tree, u64 chunk_objectid, | ||
260 | u64 chunk_offset, u64 start, u64 num_bytes); | ||
261 | int btrfs_map_block(struct btrfs_fs_info *fs_info, int rw, | 257 | int btrfs_map_block(struct btrfs_fs_info *fs_info, int rw, |
262 | u64 logical, u64 *length, | 258 | u64 logical, u64 *length, |
263 | struct btrfs_bio **bbio_ret, int mirror_num); | 259 | struct btrfs_bio **bbio_ret, int mirror_num); |
@@ -282,11 +278,6 @@ void btrfs_close_extra_devices(struct btrfs_fs_info *fs_info, | |||
282 | int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, | 278 | int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, |
283 | char *device_path, | 279 | char *device_path, |
284 | struct btrfs_device **device); | 280 | struct btrfs_device **device); |
285 | int btrfs_find_device_by_path(struct btrfs_root *root, char *device_path, | ||
286 | struct btrfs_device **device); | ||
287 | int btrfs_add_device(struct btrfs_trans_handle *trans, | ||
288 | struct btrfs_root *root, | ||
289 | struct btrfs_device *device); | ||
290 | int btrfs_rm_device(struct btrfs_root *root, char *device_path); | 281 | int btrfs_rm_device(struct btrfs_root *root, char *device_path); |
291 | void btrfs_cleanup_fs_uuids(void); | 282 | void btrfs_cleanup_fs_uuids(void); |
292 | int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len); | 283 | int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len); |
@@ -307,7 +298,6 @@ int btrfs_cancel_balance(struct btrfs_fs_info *fs_info); | |||
307 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); | 298 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); |
308 | int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, | 299 | int find_free_dev_extent(struct btrfs_device *device, u64 num_bytes, |
309 | u64 *start, u64 *max_avail); | 300 | u64 *start, u64 *max_avail); |
310 | void btrfs_dev_stat_print_on_error(struct btrfs_device *device); | ||
311 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); | 301 | void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); |
312 | int btrfs_get_dev_stats(struct btrfs_root *root, | 302 | int btrfs_get_dev_stats(struct btrfs_root *root, |
313 | struct btrfs_ioctl_get_dev_stats *stats); | 303 | struct btrfs_ioctl_get_dev_stats *stats); |
@@ -321,9 +311,6 @@ void btrfs_destroy_dev_replace_tgtdev(struct btrfs_fs_info *fs_info, | |||
321 | void btrfs_init_dev_replace_tgtdev_for_resume(struct btrfs_fs_info *fs_info, | 311 | void btrfs_init_dev_replace_tgtdev_for_resume(struct btrfs_fs_info *fs_info, |
322 | struct btrfs_device *tgtdev); | 312 | struct btrfs_device *tgtdev); |
323 | int btrfs_scratch_superblock(struct btrfs_device *device); | 313 | int btrfs_scratch_superblock(struct btrfs_device *device); |
324 | void btrfs_schedule_bio(struct btrfs_root *root, | ||
325 | struct btrfs_device *device, | ||
326 | int rw, struct bio *bio); | ||
327 | int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, | 314 | int btrfs_is_parity_mirror(struct btrfs_mapping_tree *map_tree, |
328 | u64 logical, u64 len, int mirror_num); | 315 | u64 logical, u64 len, int mirror_num); |
329 | unsigned long btrfs_full_stripe_len(struct btrfs_root *root, | 316 | unsigned long btrfs_full_stripe_len(struct btrfs_root *root, |