The patch titled
nlm: initialize completion variable in lockd_up
has been added to the -mm tree. Its filename is
nlm-initialize-completion-variable-in-lockd_up.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: nlm: initialize completion variable in lockd_up
From: Jeff Layton <[EMAIL PROTECTED]>
lockd_start_done is a global var that can be reused if lockd is restarted, but
it's never reinitialized. On all but the first use, wait_for_completion isn't
actually waiting on it since it has already completed once.
Signed-off-by: Jeff Layton <[EMAIL PROTECTED]>
Cc: Trond Myklebust <[EMAIL PROTECTED]>
Cc: Neil Brown <[EMAIL PROTECTED]>
Cc: "J. Bruce Fields" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
fs/lockd/svc.c | 1 +
1 file changed, 1 insertion(+)
diff -puN fs/lockd/svc.c~nlm-initialize-completion-variable-in-lockd_up
fs/lockd/svc.c
--- a/fs/lockd/svc.c~nlm-initialize-completion-variable-in-lockd_up
+++ a/fs/lockd/svc.c
@@ -287,6 +287,7 @@ lockd_up(int proto) /* Maybe add a 'fami
/*
* Create the kernel thread and wait for it to start.
*/
+ init_completion(&lockd_start_done);
error = svc_create_thread(lockd, serv);
if (error) {
printk(KERN_WARNING
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
sunrpc-allow-svc_pool_map_set_cpumask-to-work-with-any-task.patch
sunrpc-spin-svc_rqst-initialization-to-its-own-function.patch
sunrpc-export-svc_sock_update_bufs.patch
nlm-initialize-completion-variable-in-lockd_up.patch
nlm-have-lockd-call-try_to_freeze.patch
nlm-convert-lockd-to-use-kthreads.patch
nlm-add-reference-counting-to-lockd.patch
git-unionfs.patch
smbfs-fix-calculation-of-kernel_recvmsg-size-parameter-in-smb_receive.patch
deprecate-smbfs-in-favour-of-cifs.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html