2008-02-17 08:24:42

by Adrian Bunk

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

This patch makes the needlessly global ocfs2_downconvert_thread()
static.

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

---
bdbb7c3c448132142fffd0fbb8dc71f5a9efb594 diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index 351130c..841df58 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -3356,7 +3356,7 @@ static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb)
return should_wake;
}

-int ocfs2_downconvert_thread(void *arg)
+static int ocfs2_downconvert_thread(void *arg)
{
int status = 0;
struct ocfs2_super *osb = arg;


2008-02-18 21:05:56

by Mark Fasheh

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

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

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

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