* [Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
@ 2011-05-06 8:02 Robin Dong
2011-05-24 7:00 ` Joel Becker
0 siblings, 1 reply; 2+ messages in thread
From: Robin Dong @ 2011-05-06 8:02 UTC (permalink / raw)
To: ocfs2-devel
Change function param_set_dlmfs_capabilities from 'extern' to 'static' since
function param_get_dlmfs_capabilities is also 'static'.
Signed-off-by: Robin Dong <sanbai@taobao.com>
---
fs/ocfs2/dlmfs/dlmfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index b2df490..dd2675e 100644
--- a/fs/ocfs2/dlmfs/dlmfs.c
+++ b/fs/ocfs2/dlmfs/dlmfs.c
@@ -88,7 +88,7 @@ struct workqueue_struct *user_dlm_worker;
* signifies a bast fired on the lock.
*/
#define DLMFS_CAPABILITIES "bast stackglue"
-extern int param_set_dlmfs_capabilities(const char *val,
+static int param_set_dlmfs_capabilities(const char *val,
struct kernel_param *kp)
{
printk(KERN_ERR "%s: readonly parameter\n", kp->name);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs
2011-05-06 8:02 [Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs Robin Dong
@ 2011-05-24 7:00 ` Joel Becker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Becker @ 2011-05-24 7:00 UTC (permalink / raw)
To: ocfs2-devel
On Fri, May 06, 2011 at 04:01:40PM +0800, Robin Dong wrote:
> Change function param_set_dlmfs_capabilities from 'extern' to 'static' since
> function param_get_dlmfs_capabilities is also 'static'.
>
> Signed-off-by: Robin Dong <sanbai@taobao.com>
This patch is now in the merge-window branch of ocfs2.git.
Joel
--
"I'm drifting and drifting
Just like a ship out on the sea.
Cause I ain't got nobody, baby,
In this world to care for me."
http://www.jlbec.org/
jlbec at evilplan.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-24 7:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 8:02 [Ocfs2-devel] [PATCH] ocfs2: change incorrect 'extern' keyword to 'static' in dlmfs Robin Dong
2011-05-24 7:00 ` Joel Becker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.