Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165898
b: refs/heads/master
c: 627e421
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason committed Sep 16, 2009
1 parent dbe4d6a commit 82a0cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3e99d8eb347c93a5d38081380b8c9e69b203212e
refs/heads/master: 627e421a3f35ad6b52dc58982fb6f8a97c30dcd7
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/async-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static int try_worker_shutdown(struct btrfs_worker_thread *worker)
int freeit = 0;

spin_lock_irq(&worker->lock);
spin_lock_irq(&worker->workers->lock);
spin_lock(&worker->workers->lock);
if (worker->workers->num_workers > 1 &&
worker->idle &&
!worker->working &&
Expand All @@ -196,7 +196,7 @@ static int try_worker_shutdown(struct btrfs_worker_thread *worker)
list_del_init(&worker->worker_list);
worker->workers->num_workers--;
}
spin_unlock_irq(&worker->workers->lock);
spin_unlock(&worker->workers->lock);
spin_unlock_irq(&worker->lock);

if (freeit)
Expand Down

0 comments on commit 82a0cf1

Please sign in to comment.