Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309896
b: refs/heads/master
c: d07eb91
h: refs/heads/master
v: v3
  • Loading branch information
Asias He authored and Josef Bacik committed May 30, 2012
1 parent 58522f1 commit 616f1ce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 762f2263260d576504aeb23d20f90120acdb025f
refs/heads/master: d07eb9117050c9ed3f78296ebcc06128b52693be
13 changes: 0 additions & 13 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2903,19 +2903,6 @@ int write_ctree_super(struct btrfs_trans_handle *trans,
return ret;
}

/* Kill all outstanding I/O */
void btrfs_abort_devices(struct btrfs_root *root)
{
struct list_head *head;
struct btrfs_device *dev;
mutex_lock(&root->fs_info->fs_devices->device_list_mutex);
head = &root->fs_info->fs_devices->devices;
list_for_each_entry_rcu(dev, head, dev_list) {
blk_abort_queue(dev->bdev->bd_disk->queue);
}
mutex_unlock(&root->fs_info->fs_devices->device_list_mutex);
}

void btrfs_free_fs_root(struct btrfs_fs_info *fs_info, struct btrfs_root *root)
{
spin_lock(&fs_info->fs_roots_radix_lock);
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/btrfs/disk-io.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ int btrfs_add_log_tree(struct btrfs_trans_handle *trans,
int btrfs_cleanup_transaction(struct btrfs_root *root);
void btrfs_cleanup_one_transaction(struct btrfs_transaction *trans,
struct btrfs_root *root);
void btrfs_abort_devices(struct btrfs_root *root);

#ifdef CONFIG_DEBUG_LOCK_ALLOC
void btrfs_init_lockdep(void);
Expand Down

0 comments on commit 616f1ce

Please sign in to comment.