Messages in this thread | | | Date | Wed, 9 Jan 2008 17:35:42 +0000 | From | Christoph Hellwig <> | Subject | Re: [PATCH 3/6] NLM: Initialize completion variable in lockd_up |
| |
On Tue, Jan 08, 2008 at 02:33:15PM -0500, Jeff Layton wrote: > 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.
I don't think we'll need lockd_start_done anymore after the kthread conversion. When kthread_run returns the thread it created is guaranteed to have run until it scheduled away.
| |