浏览代码

[2.6 patch] ocfs2: make dlm_do_assert_master() static

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>
Adrian Bunk 17 年之前
父节点
当前提交
05488bbebe
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      fs/ocfs2/dlm/dlmmaster.c

+ 3 - 3
fs/ocfs2/dlm/dlmmaster.c

@@ -1695,9 +1695,9 @@ send_response:
  * can periodically run all locks owned by this node
  * can periodically run all locks owned by this node
  * and re-assert across the cluster...
  * 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;
 	struct dlm_assert_master assert;
 	int to, tmpret;
 	int to, tmpret;