diff mbox

btrfs: set task state with schedule_timeout_uninterruptible()

Message ID 1280132864-8266-1-git-send-email-segooon@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kulikov Vasiliy July 26, 2010, 8:27 a.m. UTC
None
diff mbox

Patch

diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 7ec1409..54eb070 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -362,7 +362,7 @@  again:
 				 * worker->working is still 1, so nobody
 				 * is going to try and wake us up
 				 */
-				schedule_timeout(1);
+				schedule_timeout_uninterruptible(1);
 				smp_mb();
 				if (!list_empty(&worker->pending) ||
 				    !list_empty(&worker->prio_pending))