]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit581b967121ea8cc79fd57022a20aea7fafb4f132
treea38462cdfbaa0dce3bbd26fe7167fe7368439a47
parentcf0b7c57f6db89bc07ac1c4de02e371db449aade
Btrfs: don't walk around with task->state != TASK_RUNNING

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>
fs/btrfs/async-thread.c
fs/btrfs/transaction.c