dlm: Fix comment in dlm.h regarding lock_dlm() return values
The code in dlm_lock() explicitly tests for a return value of -EAGAIN and changes it to zero in that case, so this function can never return -EAGAIN. I'm not 100% sure that it can return -ENOTCONN either, but the code paths are more tricky to trace in that case, so I've left that one for now.
Signed-off-by Steven Whitehouse <[email protected]>
include/linux/dlm.h +0 -1
@@ -112,7 +112,6 @@ int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force);* Returns: * 0 if request is successfully queued for processing * -EINVAL if any input parameters are invalid -* -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE * -ENOMEM if there is no memory to process request * -ENOTCONN if there is a communication error *