From d86c3c13160ea8163c45b9c4426f62c1a3551c88 Mon Sep 17 00:00:00 2001 From: "Rafael J. Wysocki" Date: Wed, 8 Nov 2006 17:44:48 -0800 Subject: [PATCH] --- yaml --- r: 40828 b: refs/heads/master c: 4b438a23fb05b6566393f9f0a3987ea3dcc1c0c4 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/md/md.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 575ecc2b39ed..88d7ebd1c3bb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0692c6b1cf5537b190f90fb5903f1af89a41b0a8 +refs/heads/master: 4b438a23fb05b6566393f9f0a3987ea3dcc1c0c4 diff --git a/trunk/drivers/md/md.c b/trunk/drivers/md/md.c index ae50a2419cc6..8cbf9c9df1c3 100644 --- a/trunk/drivers/md/md.c +++ b/trunk/drivers/md/md.c @@ -4486,6 +4486,7 @@ static int md_thread(void * arg) * many dirty RAID5 blocks. */ + current->flags |= PF_NOFREEZE; allow_signal(SIGKILL); while (!kthread_should_stop()) { @@ -4502,7 +4503,6 @@ static int md_thread(void * arg) test_bit(THREAD_WAKEUP, &thread->flags) || kthread_should_stop(), thread->timeout); - try_to_freeze(); clear_bit(THREAD_WAKEUP, &thread->flags);