writeback: don't use schedule_timeout() without setting runstate
authorJens Axboe <jens.axboe@oracle.com>
Thu, 17 Sep 2009 17:56:01 +0000 (19:56 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 21 Sep 2009 13:40:33 +0000 (15:40 +0200)
commit3542a5c0de3d5b33227214a692bf9b12e249078e
tree6119bd49d7bbd149b7b6c14eeb60222ff2072bf0
parent92f25053c0189f8d2887f837d3936cdca1cdf730
writeback: don't use schedule_timeout() without setting runstate

Just use schedule_timeout_interruptible(), saves a call to
set_current_state().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mm/page-writeback.c