[Ocfs2-devel] [PATCH 07/18] ocfs2: make dlm_do_assert_master() static

Sunil Mushran sunil.mushran at oracle.com
Tue Mar 11 16:31:58 PDT 2008


Mainline commit 05488bbebe3deedbc5d58a1832f563ff96bc2ef6
Author: Adrian Bunk <bunk at kernel.org>
Date: Sun, 17 Feb 2008 10:20:41 +0200

This patch makes the needlessly global dlm_do_assert_master() static.

Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Mark Fasheh <mark.fasheh at oracle.com>
---
 fs/ocfs2/dlm/dlmmaster.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 8faa2e4..da627c8 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -1695,9 +1695,9 @@ send_response:
  * can periodically run all locks owned by this node
  * and re-assert across the cluster...
  */
-int dlm_do_assert_master(struct dlm_ctxt *dlm,
-			 struct dlm_lock_resource *res,
-			 void *nodemap, u32 flags)
+static int dlm_do_assert_master(struct dlm_ctxt *dlm,
+				struct dlm_lock_resource *res,
+				void *nodemap, u32 flags)
 {
 	struct dlm_assert_master assert;
 	int to, tmpret;
-- 
1.5.3.4




More information about the Ocfs2-devel mailing list