[PATCH] Convert lockd to use the newer mutex instead of the older semaphore