• S
    GFS2: Clean up of gdlm_lock function · 921169ca
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    921169ca
lock_dlm.c 5.3 KB