[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070412235629.GA1047@tv-sign.ru>
Date: Fri, 13 Apr 2007 03:56:29 +0400
From: Oleg Nesterov <oleg@...sign.ru>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Trond Myklebust <Trond.Myklebust@...app.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] nlmclnt_recovery: don't use CLONE_SIGHAND
reclaimer() calls allow_signal() which plays with parent process's ->sighand.
Signed-off-by: Oleg Nesterov <oleg@...sign.ru>
--- 2.6.21-rc5/fs/lockd/clntlock.c~1_lockd 2007-04-05 12:04:07.000000000 +0400
+++ 2.6.21-rc5/fs/lockd/clntlock.c 2007-04-13 03:20:51.000000000 +0400
@@ -153,7 +153,7 @@ nlmclnt_recovery(struct nlm_host *host)
if (!host->h_reclaiming++) {
nlm_get_host(host);
__module_get(THIS_MODULE);
- if (kernel_thread(reclaimer, host, CLONE_KERNEL) < 0)
+ if (kernel_thread(reclaimer, host, CLONE_FS | CLONE_FILES) < 0)
module_put(THIS_MODULE);
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists