ChangeSet@1.1136.73.4 2003-12-02 12:02:00-02:00 neilb at unsw.edu.au [PATCH] Drop module count if lockd reclaimer thread failed to start. --- linux-2.4.23/fs/lockd/clntlock.c~ Tue Dec 9 00:35:29 2003 +++ linux-2.4.23/fs/lockd/clntlock.c Tue Dec 9 00:35:29 2003 @@ -188,7 +188,8 @@ nlmclnt_prepare_reclaim(host, newstate); nlm_get_host(host); MOD_INC_USE_COUNT; - kernel_thread(reclaimer, host, CLONE_SIGNAL); + if(kernel_thread(reclaimer, host, CLONE_SIGNAL) < 0) + MOD_DEC_USE_COUNT; } }