client to service another client now seems to work quite well. (The dead
client can even reconnect successfully.)
int ldlm_handle_enqueue(struct ptlrpc_request *req);
int ldlm_handle_convert(struct ptlrpc_request *req);
int ldlm_handle_cancel(struct ptlrpc_request *req);
+int ldlm_del_waiting_lock(struct ldlm_lock *lock);
/* ldlm_lock.c */
void ldlm_register_intent(int (*arg)(struct ldlm_lock *lock, void *req_cookie,
ldlm_cancel_callback(lock);
+ ldlm_del_waiting_lock(lock);
ldlm_resource_unlink_lock(lock);
ldlm_lock_destroy(lock);
l_unlock(&ns->ns_lock);
* callback arrive without incident. This adjusts the lock-timeout timer if
* needed. Returns 0 if the lock wasn't pending after all, 1 if it was.
*/
-static int ldlm_del_waiting_lock(struct ldlm_lock *lock)
+int ldlm_del_waiting_lock(struct ldlm_lock *lock)
{
struct list_head *list_next;