From: Joel Becker Date: Fri, 1 Feb 2008 20:15:37 +0000 (-0800) Subject: ocfs2: Use -errno instead of dlm_status for ocfs2_dlm_lock/unlock() API. X-Git-Tag: v2.6.26-rc1~1143^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7431cd7e8dd0e46e9b12bd6a1ac1286f4b420371;p=pandora-kernel.git ocfs2: Use -errno instead of dlm_status for ocfs2_dlm_lock/unlock() API. Change the ocfs2_dlm_lock/unlock() functions to return -errno values. This is the first step towards elminiating dlm_status in fs/ocfs2/dlmglue.c. The change also passes -errno values to ->unlock_ast(). [ Fix a return code in dlmglue.c and change the error translation table into an array of ints. --Mark ] Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed