projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8010c3b
)
writeback: use schedule_timeout_interruptible()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 15 Sep 2009 19:27:40 +0000
(21:27 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:52 +0000
(15:18 +0200)
Gets rid of a manual set_current_state().
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fs-writeback.c
b/fs/fs-writeback.c
index 55f0d4e51b59081d7d2c3bc58e5533eaef41ae1e..34757758511a7f073a019b67a61c7884ecf3fed0 100644
(file)
--- a/
fs/fs-writeback.c
+++ b/
fs/fs-writeback.c
@@
-884,8
+884,7
@@
int bdi_writeback_task(struct bdi_writeback *wb)
}
wait_jiffies = msecs_to_jiffies(dirty_writeback_interval * 10);
- set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout(wait_jiffies);
+ schedule_timeout_interruptible(wait_jiffies);
try_to_freeze();
}