2008-02-17 08:24:58

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] ocfs: make dlm_do_assert_master() static

This patch makes the needlessly global dlm_do_assert_master() static.

Signed-off-by: Adrian Bunk <[email protected]>

---
d30e20106688e15d199297957c5fe1f6d79f23c9 diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index a54d33d..c92d1b1 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;


2008-02-18 21:06:36

by Mark Fasheh

[permalink] [raw]
Subject: Re: [2.6 patch] ocfs: make dlm_do_assert_master() static

On Sun, Feb 17, 2008 at 10:20:41AM +0200, Adrian Bunk wrote:
> This patch makes the needlessly global dlm_do_assert_master() static.
>
> Signed-off-by: Adrian Bunk <[email protected]>

Thanks, this is in ocfs2.git now.
--Mark

--
Mark Fasheh
Principal Software Developer, Oracle
[email protected]