summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmcommon.h
diff options
context:
space:
mode:
authorSunil Mushran2009-02-27 00:00:37 +0100
committerMark Fasheh2009-04-03 20:39:18 +0200
commit1c0845773ad9f4875603b752235aea8aa04565f3 (patch)
tree35554daeb156154197c664d6dd5a52552eb292e4 /fs/ocfs2/dlm/dlmcommon.h
parentocfs2: Optimize inode group allocation by recording last used group. (diff)
downloadkernel-qcow2-linux-1c0845773ad9f4875603b752235aea8aa04565f3.tar.gz
kernel-qcow2-linux-1c0845773ad9f4875603b752235aea8aa04565f3.tar.xz
kernel-qcow2-linux-1c0845773ad9f4875603b752235aea8aa04565f3.zip
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.h3
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)
DLM_LOCK_RES_MIGRATING));
}
+void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
+void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
+
/* create/destroy slab caches */
int dlm_init_master_caches(void);
void dlm_destroy_master_caches(void);