Skip to content

Commit

Permalink
dlm: Fix dlm lock status block comment in dlm.h
Browse files Browse the repository at this point in the history
There is only one place in the dlm where the sb_status is set
and that is queue_cast(). Tracing back the callers of that
function shows that the listed set of return values is
out of date, so here are an updated set.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
  • Loading branch information
Steven Whitehouse authored and David Teigland committed Sep 7, 2010
1 parent 314dd2a commit 269cddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/dlm.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ typedef void dlm_lockspace_t;
*
* 0 if lock request was successful
* -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE
* -ENOMEM if there is no memory to process request
* -EINVAL if there are invalid parameters
* -DLM_EUNLOCK if unlock request was successful
* -DLM_ECANCEL if a cancel completed successfully
* -EDEADLK if a deadlock was detected
* -ETIMEDOUT if the lock request was canceled due to a timeout
*/

#define DLM_SBF_DEMOTED 0x01
Expand Down

0 comments on commit 269cddd

Please sign in to comment.