diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-05-01 13:57:51 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:42:58 -0400 |
commit | 69d72b066cc5971318d9e29e34289b74cf8a9d22 (patch) | |
tree | f8d27fbce0fac31969ff09cdf3c8faa9c9abc56e /fs/ocfs2/dlm/dlmcommon.h | |
parent | a9ee4c8a67b962db0208addf0e32935aa571af6b (diff) |
ocfs2: dlm recovery / lockres reference count fix
Take a reference on lockres structures while they are on the recovery list.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index bf873919b009..9e052445b0b5 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h | |||
@@ -849,6 +849,7 @@ void dlm_clean_master_list(struct dlm_ctxt *dlm, | |||
849 | u8 dead_node); | 849 | u8 dead_node); |
850 | int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock); | 850 | int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock); |
851 | 851 | ||
852 | int __dlm_lockres_unused(struct dlm_lock_resource *res); | ||
852 | 853 | ||
853 | static inline const char * dlm_lock_mode_name(int mode) | 854 | static inline const char * dlm_lock_mode_name(int mode) |
854 | { | 855 | { |