diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2009-02-26 18:00:37 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-04-03 14:39:18 -0400 |
commit | 1c0845773ad9f4875603b752235aea8aa04565f3 (patch) | |
tree | 35554daeb156154197c664d6dd5a52552eb292e4 /fs/ocfs2/dlm/dlmcommon.h | |
parent | feb473a6e8bd19297d0f3bb377b25055c0228c0a (diff) |
ocfs2/dlm: Encapsulate adding and removing of mle from dlm->master_list
This patch encapsulates adding and removing of the mle from the
dlm->master_list. This patch is part of the series of patches that
converts the mle list to a mle hash.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index bb53714813ab..261e26501e57 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h | |||
@@ -1008,6 +1008,9 @@ static inline void __dlm_wait_on_lockres(struct dlm_lock_resource *res) | |||
1008 | DLM_LOCK_RES_MIGRATING)); | 1008 | DLM_LOCK_RES_MIGRATING)); |
1009 | } | 1009 | } |
1010 | 1010 | ||
1011 | void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle); | ||
1012 | void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle); | ||
1013 | |||
1011 | /* create/destroy slab caches */ | 1014 | /* create/destroy slab caches */ |
1012 | int dlm_init_master_caches(void); | 1015 | int dlm_init_master_caches(void); |
1013 | void dlm_destroy_master_caches(void); | 1016 | void dlm_destroy_master_caches(void); |