diff options
-rw-r--r-- | fs/btrfs/disk-io.c | 13 | ||||
-rw-r--r-- | fs/btrfs/disk-io.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 297e5a8ed93c..0f788c059063 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -2903,19 +2903,6 @@ int write_ctree_super(struct btrfs_trans_handle *trans, | |||
2903 | return ret; | 2903 | return ret; |
2904 | } | 2904 | } |
2905 | 2905 | ||
2906 | /* Kill all outstanding I/O */ | ||
2907 | void btrfs_abort_devices(struct btrfs_root *root) | ||
2908 | { | ||
2909 | struct list_head *head; | ||
2910 | struct btrfs_device *dev; | ||
2911 | mutex_lock(&root->fs_info->fs_devices->device_list_mutex); | ||
2912 | head = &root->fs_info->fs_devices->devices; | ||
2913 | list_for_each_entry_rcu(dev, head, dev_list) { | ||
2914 | blk_abort_queue(dev->bdev->bd_disk->queue); | ||
2915 | } | ||
2916 | mutex_unlock(&root->fs_info->fs_devices->device_list_mutex); | ||
2917 | } | ||
2918 | |||
2919 | void btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root) | 2906 | void btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root) |
2920 | { | 2907 | { |
2921 | spin_lock(&fs_info->fs_roots_radix_lock); | 2908 | spin_lock(&fs_info->fs_roots_radix_lock); |
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index ab1830aaf0ed..05b3fab39f7e 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -89,7 +89,6 @@ int btrfs_add_log_tree(struct btrfs_trans_handle *trans, | |||
89 | int btrfs_cleanup_transaction(struct btrfs_root *root); | 89 | int btrfs_cleanup_transaction(struct btrfs_root *root); |
90 | void btrfs_cleanup_one_transaction(struct btrfs_transaction *trans, | 90 | void btrfs_cleanup_one_transaction(struct btrfs_transaction *trans, |
91 | struct btrfs_root *root); | 91 | struct btrfs_root *root); |
92 | void btrfs_abort_devices(struct btrfs_root *root); | ||
93 | 92 | ||
94 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 93 | #ifdef CONFIG_DEBUG_LOCK_ALLOC |
95 | void btrfs_init_lockdep(void); | 94 | void btrfs_init_lockdep(void); |