diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 13 |
1 files changed, 0 insertions, 13 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); |