diff -urN 2.6.9-rc4-mm1-RT-U7/fs/lockd/svc.c 2.6.9-rc4-mm1-RT-U7-work/fs/lockd/svc.c --- 2.6.9-rc4-mm1-RT-U7/fs/lockd/svc.c 2004-10-19 20:29:43.000000000 +0200 +++ 2.6.9-rc4-mm1-RT-U7-work/fs/lockd/svc.c 2004-10-20 00:42:20.000000000 +0200 @@ -306,7 +306,7 @@ * Wait for the lockd process to exit, but since we're holding * the lockd semaphore, we can't wait around forever ... */ - if (!wait_event_interruptible_timeout(lockd_exit, + if (wait_event_interruptible_timeout(lockd_exit, nlmsvc_pid == 0, HZ) <= 0) { printk(KERN_WARNING "lockd_down: lockd failed to exit, clearing pid\n");