[Ocfs2-commits] mfasheh commits r2975 -
branches/ocfs2-1.2/fs/ocfs2/dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Jan 29 15:28:10 PST 2007
Author: mfasheh
Date: 2007-01-29 15:28:09 -0800 (Mon, 29 Jan 2007)
New Revision: 2975
Modified:
branches/ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h
branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c
Log:
ocfs2_dlm: make functions static
This patch makes the needlessly export function dlm_deref_lockres_worker()
static.
Signed-off-by: jlbec
Modified: branches/ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h 2007-01-29 22:36:45 UTC (rev 2974)
+++ branches/ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h 2007-01-29 23:28:09 UTC (rev 2975)
@@ -894,7 +894,6 @@
void dlm_assert_master_post_handler(int status, void *data, void *ret_data);
int dlm_deref_lockres_handler(struct o2net_msg *msg, u32 len, void *data,
void **ret_data);
-void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data);
int dlm_migrate_request_handler(struct o2net_msg *msg, u32 len, void *data,
void **ret_data);
int dlm_mig_lockres_handler(struct o2net_msg *msg, u32 len, void *data,
Modified: branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c 2007-01-29 22:36:45 UTC (rev 2974)
+++ branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c 2007-01-29 23:28:09 UTC (rev 2975)
@@ -99,6 +99,7 @@
struct dlm_master_list_entry *mle,
struct o2nm_node *node,
int idx);
+static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data);
static inline int dlm_mle_equal(struct dlm_ctxt *dlm,
struct dlm_master_list_entry *mle,
@@ -2383,7 +2384,7 @@
return ret;
}
-void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data)
+static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data)
{
struct dlm_ctxt *dlm;
struct dlm_lock_resource *res;
More information about the Ocfs2-commits
mailing list