commit | 7431cd7e8dd0e46e9b12bd6a1ac1286f4b420371 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Fri Feb 01 12:15:37 2008 -0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Fri Apr 18 08:56:03 2008 -0700 |
tree | 748d55c349f12ee504635748c64ee14026eda556 | |
parent | bd3e76105d4478ab89951a52d1a35250d24a9f16 [diff] |
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>