All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: mark.fasheh@oracle.com, kurt.hackel@oracle.com
Cc: ocfs2-devel@oss.oracle.com, linux-kernel@vger.kernel.org
Subject: [Ocfs2-devel] [RFC: 2.6 patch] fs/ocfs2/: remove unused exports
Date: Fri, 14 Apr 2006 13:34:09 +0200	[thread overview]
Message-ID: <20060414113409.GJ4162@stusta.de> (raw)

This patch removes the following unused EXPORT_SYMBOL_GPL's:
- cluster/heartbeat.c: o2hb_check_node_heartbeating_from_callback
- cluster/heartbeat.c: o2hb_stop_all_regions
- cluster/nodemanager.c: o2nm_get_node_by_num
- cluster/nodemanager.c: o2nm_configured_node_map
- cluster/nodemanager.c: o2nm_get_node_by_ip
- cluster/nodemanager.c: o2nm_node_put
- cluster/nodemanager.c: o2nm_node_get
- dlm/dlmmaster.c: dlm_migrate_lockres

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 fs/ocfs2/cluster/heartbeat.c   |    2 --
 fs/ocfs2/cluster/nodemanager.c |    5 -----
 fs/ocfs2/dlm/dlmmaster.c       |    1 -
 3 files changed, 8 deletions(-)

--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/heartbeat.c.old	2006-04-14 12:42:05.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/heartbeat.c	2006-04-14 12:42:30.000000000 +0200
@@ -1785,7 +1785,6 @@
 
 	return 1;
 }
-EXPORT_SYMBOL_GPL(o2hb_check_node_heartbeating_from_callback);
 
 /* Makes sure our local node is configured with a node number, and is
  * heartbeating. */
@@ -1821,4 +1820,3 @@
 
 	spin_unlock(&o2hb_live_lock);
 }
-EXPORT_SYMBOL_GPL(o2hb_stop_all_regions);
--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/nodemanager.c.old	2006-04-14 12:42:49.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/nodemanager.c	2006-04-14 12:43:40.000000000 +0200
@@ -123,7 +123,6 @@
 out:
 	return node;
 }
-EXPORT_SYMBOL_GPL(o2nm_get_node_by_num);
 
 int o2nm_configured_node_map(unsigned long *map, unsigned bytes)
 {
@@ -140,7 +139,6 @@
 
 	return 0;
 }
-EXPORT_SYMBOL_GPL(o2nm_configured_node_map);
 
 static struct o2nm_node *o2nm_node_ip_tree_lookup(struct o2nm_cluster *cluster,
 						  __be32 ip_needle,
@@ -192,19 +190,16 @@
 out:
 	return node;
 }
-EXPORT_SYMBOL_GPL(o2nm_get_node_by_ip);
 
 void o2nm_node_put(struct o2nm_node *node)
 {
 	config_item_put(&node->nd_item);
 }
-EXPORT_SYMBOL_GPL(o2nm_node_put);
 
 void o2nm_node_get(struct o2nm_node *node)
 {
 	config_item_get(&node->nd_item);
 }
-EXPORT_SYMBOL_GPL(o2nm_node_get);
 
 u8 o2nm_this_node(void)
 {
--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/dlm/dlmmaster.c.old	2006-04-14 12:44:19.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/dlm/dlmmaster.c	2006-04-14 12:44:25.000000000 +0200
@@ -2208,7 +2208,6 @@
 	mlog(0, "returning %d\n", ret);
 	return ret;
 }
-EXPORT_SYMBOL_GPL(dlm_migrate_lockres);
 
 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock)
 {

WARNING: multiple messages have this Message-ID (diff)
From: Adrian Bunk <bunk@stusta.de>
To: mark.fasheh@oracle.com, kurt.hackel@oracle.com
Cc: ocfs2-devel@oss.oracle.com, linux-kernel@vger.kernel.org
Subject: [RFC: 2.6 patch] fs/ocfs2/: remove unused exports
Date: Fri, 14 Apr 2006 13:34:09 +0200	[thread overview]
Message-ID: <20060414113409.GJ4162@stusta.de> (raw)

This patch removes the following unused EXPORT_SYMBOL_GPL's:
- cluster/heartbeat.c: o2hb_check_node_heartbeating_from_callback
- cluster/heartbeat.c: o2hb_stop_all_regions
- cluster/nodemanager.c: o2nm_get_node_by_num
- cluster/nodemanager.c: o2nm_configured_node_map
- cluster/nodemanager.c: o2nm_get_node_by_ip
- cluster/nodemanager.c: o2nm_node_put
- cluster/nodemanager.c: o2nm_node_get
- dlm/dlmmaster.c: dlm_migrate_lockres

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 fs/ocfs2/cluster/heartbeat.c   |    2 --
 fs/ocfs2/cluster/nodemanager.c |    5 -----
 fs/ocfs2/dlm/dlmmaster.c       |    1 -
 3 files changed, 8 deletions(-)

--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/heartbeat.c.old	2006-04-14 12:42:05.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/heartbeat.c	2006-04-14 12:42:30.000000000 +0200
@@ -1785,7 +1785,6 @@
 
 	return 1;
 }
-EXPORT_SYMBOL_GPL(o2hb_check_node_heartbeating_from_callback);
 
 /* Makes sure our local node is configured with a node number, and is
  * heartbeating. */
@@ -1821,4 +1820,3 @@
 
 	spin_unlock(&o2hb_live_lock);
 }
-EXPORT_SYMBOL_GPL(o2hb_stop_all_regions);
--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/nodemanager.c.old	2006-04-14 12:42:49.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/cluster/nodemanager.c	2006-04-14 12:43:40.000000000 +0200
@@ -123,7 +123,6 @@
 out:
 	return node;
 }
-EXPORT_SYMBOL_GPL(o2nm_get_node_by_num);
 
 int o2nm_configured_node_map(unsigned long *map, unsigned bytes)
 {
@@ -140,7 +139,6 @@
 
 	return 0;
 }
-EXPORT_SYMBOL_GPL(o2nm_configured_node_map);
 
 static struct o2nm_node *o2nm_node_ip_tree_lookup(struct o2nm_cluster *cluster,
 						  __be32 ip_needle,
@@ -192,19 +190,16 @@
 out:
 	return node;
 }
-EXPORT_SYMBOL_GPL(o2nm_get_node_by_ip);
 
 void o2nm_node_put(struct o2nm_node *node)
 {
 	config_item_put(&node->nd_item);
 }
-EXPORT_SYMBOL_GPL(o2nm_node_put);
 
 void o2nm_node_get(struct o2nm_node *node)
 {
 	config_item_get(&node->nd_item);
 }
-EXPORT_SYMBOL_GPL(o2nm_node_get);
 
 u8 o2nm_this_node(void)
 {
--- linux-2.6.17-rc1-mm2-full/fs/ocfs2/dlm/dlmmaster.c.old	2006-04-14 12:44:19.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/fs/ocfs2/dlm/dlmmaster.c	2006-04-14 12:44:25.000000000 +0200
@@ -2208,7 +2208,6 @@
 	mlog(0, "returning %d\n", ret);
 	return ret;
 }
-EXPORT_SYMBOL_GPL(dlm_migrate_lockres);
 
 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock)
 {


             reply	other threads:[~2006-04-14 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 11:34 Adrian Bunk [this message]
2006-04-14 11:34 ` [RFC: 2.6 patch] fs/ocfs2/: remove unused exports Adrian Bunk
2006-04-16  3:34 ` [Ocfs2-devel] " Mark Fasheh
2006-04-16  3:34   ` Mark Fasheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060414113409.GJ4162@stusta.de \
    --to=bunk@stusta.de \
    --cc=kurt.hackel@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.fasheh@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.