]> err.no Git - linux-2.6/commit
ocfs2: Use -errno instead of dlm_status for ocfs2_dlm_lock/unlock() API.
authorJoel Becker <joel.becker@oracle.com>
Fri, 1 Feb 2008 20:15:37 +0000 (12:15 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:03 +0000 (08:56 -0700)
commit7431cd7e8dd0e46e9b12bd6a1ac1286f4b420371
tree748d55c349f12ee504635748c64ee14026eda556
parentbd3e76105d4478ab89951a52d1a35250d24a9f16
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 <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlmglue.c
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h