Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129022
b: refs/heads/master
c: 0df49b9
h: refs/heads/master
v: v3
  • Loading branch information
yanhai zhu authored and Chris Mason committed Nov 12, 2008
1 parent 01f6320 commit e227510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c36047d729a3fa080dd194b20b684cc9fe73e90c
refs/heads/master: 0df49b911db2b22ea808b596070b1cc65c23d148
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/async-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ static int worker_loop(void *arg)
} else {
set_current_state(TASK_INTERRUPTIBLE);
spin_unlock_irq(&worker->lock);
schedule();
if (!kthread_should_stop())
schedule();
__set_current_state(TASK_RUNNING);
}
} while (!kthread_should_stop());
Expand Down

0 comments on commit e227510

Please sign in to comment.