diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-11-29 12:50:38 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-11-30 10:31:48 (GMT) |
commit | 921169ca2f7c8a0a2ccda2ce33c465dfe3ae30ef (patch) | |
tree | f40f00721426eb992d75493defefb8de8a71b7e1 /net/can/raw.c | |
parent | 802ec9b6682349d9d9c92a9e55f44324d2954f41 (diff) | |
download | linux-fsl-qoriq-921169ca2f7c8a0a2ccda2ce33c465dfe3ae30ef.tar.xz |
GFS2: Clean up of gdlm_lock function
The DLM never returns -EAGAIN in response to dlm_lock(), and even
if it did, the test in gdlm_lock() was wrong anyway. Once that
test is removed, it is possible to greatly simplify this code
by simply using a "normal" error return code (0 for success).
We then no longer need the LM_OUT_ASYNC return code which can
be removed.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'net/can/raw.c')
0 files changed, 0 insertions, 0 deletions