summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-05-18 16:31:45 +0400
committerJens Axboe <jens.axboe@oracle.com>2010-05-21 22:00:25 +0400
commitf9eadbbd424c083b8005c7b738f644611b9ef489 (patch)
treeedc73e0fa56de566af7672f6f80579ec317d373f /block/genhd.c
parent7c8a3554c683f512dbcee26faedb42e4c05f12fa (diff)
downloadlinux-f9eadbbd424c083b8005c7b738f644611b9ef489.tar.xz
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 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions