diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-05-18 08:31:45 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 14:00:25 -0400 |
commit | f9eadbbd424c083b8005c7b738f644611b9ef489 (patch) | |
tree | edc73e0fa56de566af7672f6f80579ec317d373f /mm/page-writeback.c | |
parent | 7c8a3554c683f512dbcee26faedb42e4c05f12fa (diff) |
writeback: bdi_writeback_task() must set task state before calling schedule()
Calling schedule without setting the task state to non-running will
return immediately, so ensure that we set it properly and check our
sleep conditions after doing so.
This is a fixup for commit 69b62d01.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions