[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <105d09df399b657f59ede72e355e04a0080b6126.1391949868.git.rashika.kheria@gmail.com>
Date: Sun, 9 Feb 2014 18:47:29 +0530
From: Rashika Kheria <rashika.kheria@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Mark Fasheh <mfasheh@...e.com>, Joel Becker <jlbec@...lplan.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Joyce <xuejiufei@...wei.com>, Jie Liu <jeff.liu@...cle.com>,
Sunil Mushran <sunil.mushran@...il.com>,
Akinobu Mita <akinobu.mita@...il.com>,
Kent Overstreet <kmo@...erainc.com>,
Tim Gardner <tim.gardner@...onical.com>,
Dong Fang <yp.fangdong@...il.com>, ocfs2-devel@....oracle.com,
josh@...htriplett.org
Subject: [PATCH 16/21] fs: Mark function as static in
ocfs2/cluster/heartbeat.c
Mark function as static in ocfs2/cluster/heartbeat.c because it is
not used outside this file.
This eliminates the following warning in ocfs2/cluster/heartbeat.c:
fs/ocfs2/cluster/heartbeat.c:2470:6: warning: no previous prototype for ‘o2hb_region_dec_user’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
Reviewed-by: Josh Triplett <josh@...htriplett.org>
---
fs/ocfs2/cluster/heartbeat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index bf482df..ca10dec 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -2467,7 +2467,7 @@ unlock:
return ret;
}
-void o2hb_region_dec_user(const char *region_uuid)
+static void o2hb_region_dec_user(const char *region_uuid)
{
spin_lock(&o2hb_live_lock);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists