From: Jeff Layton Date: Wed, 11 Jun 2008 14:03:12 +0000 (-0400) Subject: lockd: close potential race with rapid lockd_up/lockd_down cycle X-Git-Tag: v2.6.27-rc1~961^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd1ec4efd82ca06127bce833ad8a4bbec8a0dcb;p=pandora-kernel.git lockd: close potential race with rapid lockd_up/lockd_down cycle If lockd_down is called very rapidly after lockd_up returns, then there is a slim chance that lockd() will never be called. kthread() will return before calling the function, so we'll end up never actually calling the cleanup functions for the thread. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed