[2.6 patch] ocfs2: make dlm_do_assert_master() static
authorAdrian Bunk <bunk@kernel.org>
Sun, 17 Feb 2008 08:20:41 +0000 (10:20 +0200)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 3 Mar 2008 23:50:21 +0000 (15:50 -0800)
This patch makes the needlessly global dlm_do_assert_master() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmmaster.c

index a54d33d95ada49f6a993c0518168870e1b58c1a2..c92d1b19fc0bbb51c0c98cbe27847f98ac6fce10 100644 (file)
@@ -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;