Btrfs: don't walk around with task->state != TASK_RUNNING
authorChris Mason <chris.mason@oracle.com>
Tue, 25 May 2010 14:12:41 +0000 (10:12 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 May 2010 14:34:58 +0000 (10:34 -0400)
Yan Zheng noticed two places we were doing a lot of work
without task->state set to TASK_RUNNING.  This sets the state
properly after we get ready to sleep but decide not to.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found