From: Steven Whitehouse Date: Mon, 29 Nov 2010 12:50:38 +0000 (+0000) Subject: GFS2: Clean up of gdlm_lock function X-Git-Tag: v2.6.38-rc1~493^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=921169ca2f7c8a0a2ccda2ce33c465dfe3ae30ef;p=pandora-kernel.git 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 --- Reading git-diff-tree failed