Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208350
b: refs/heads/master
c: 6bf05d0
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Aug 7, 2010
1 parent bd02a3b commit 4de91a6
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e7f52dfb4f378ea1bbfd4476f4e8ba42f5fb332c
refs/heads/master: 6bf05d03ea8d00bb53e0642f94a5a6815be2edb6
5 changes: 3 additions & 2 deletions trunk/mm/backing-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ static int bdi_forker_thread(void *ptr)
break;
}

spin_lock_bh(&bdi->wb_lock);
spin_lock(&bdi->wb_lock);

/*
* If there is no work to do and the bdi thread was
* inactive long enough - kill it. The wb_lock is taken
Expand All @@ -432,7 +433,7 @@ static int bdi_forker_thread(void *ptr)
action = KILL_THREAD;
break;
}
spin_unlock_bh(&bdi->wb_lock);
spin_unlock(&bdi->wb_lock);
}
spin_unlock_bh(&bdi_lock);

Expand Down

0 comments on commit 4de91a6

Please sign in to comment.