Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=550facd138d8f6b0ca683c1e894b5cd0f381cb63
Commit:     550facd138d8f6b0ca683c1e894b5cd0f381cb63
Parent:     21051ba6259c519e20a7d575ddceb16e84ad2a5d
Author:     Oleg Nesterov <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 22:55:07 2007 -0700
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Mon May 14 19:33:44 2007 -0400

    NLM: don't use CLONE_SIGHAND in nlmclnt_recovery
    
    reclaimer() calls allow_signal() which plays with parent process's 
->sighand.
    
    Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]>
    Cc: Trond Myklebust <[EMAIL PROTECTED]>
    Cc: "J. Bruce Fields" <[EMAIL PROTECTED]>
    Cc: Neil Brown <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 fs/lockd/clntlock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/lockd/clntlock.c b/fs/lockd/clntlock.c
index f4d45d4..d070b18 100644
--- a/fs/lockd/clntlock.c
+++ b/fs/lockd/clntlock.c
@@ -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 git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to