Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361956
b: refs/heads/master
c: db1d607
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik committed Mar 28, 2013
1 parent 829fe1c commit c68a6c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e137ed3f30574f314733d4b7a86ea6523232b14
refs/heads/master: db1d607d3ca5cbb283cbb17d648cd7e8dc67cc7b
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/ordered-data.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ void btrfs_wait_ordered_extents(struct btrfs_root *root, int delay_iput)
INIT_LIST_HEAD(&splice);
INIT_LIST_HEAD(&works);

mutex_lock(&root->fs_info->ordered_operations_mutex);
spin_lock(&root->fs_info->ordered_extent_lock);
list_splice_init(&root->fs_info->ordered_extents, &splice);
while (!list_empty(&splice)) {
Expand Down Expand Up @@ -600,6 +601,7 @@ void btrfs_wait_ordered_extents(struct btrfs_root *root, int delay_iput)

cond_resched();
}
mutex_unlock(&root->fs_info->ordered_operations_mutex);
}

/*
Expand Down

0 comments on commit c68a6c6

Please sign in to comment.