[Ocfs2-commits] mfasheh commits r2347 - in trunk/fs/ocfs2: cluster
dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jun 1 12:56:09 CDT 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-06-01 12:56:07 -0500 (Wed, 01 Jun 2005)
New Revision: 2347
Modified:
trunk/fs/ocfs2/cluster/heartbeat.c
trunk/fs/ocfs2/cluster/masklog.c
trunk/fs/ocfs2/cluster/net_proc.c
trunk/fs/ocfs2/cluster/nodemanager.c
trunk/fs/ocfs2/cluster/tcp.c
trunk/fs/ocfs2/dlm/dlmdebug.c
trunk/fs/ocfs2/dlm/dlmdomain.c
trunk/fs/ocfs2/dlm/dlmlock.c
trunk/fs/ocfs2/dlm/dlmmaster.c
trunk/fs/ocfs2/dlm/dlmunlock.c
Log:
* change all ocfs2* exported symbols to EXPORT_SYMBOL_GPL
Signed-off-by: manish
Modified: trunk/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- trunk/fs/ocfs2/cluster/heartbeat.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/cluster/heartbeat.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -736,7 +736,7 @@
spin_unlock(&hb_live_lock);
up_read(&hb_callback_sem);
}
-EXPORT_SYMBOL(hb_fill_node_map);
+EXPORT_SYMBOL_GPL(hb_fill_node_map);
/*
* heartbeat configfs bits. The heartbeat set is a default set under
@@ -1239,7 +1239,7 @@
hc->hc_type = type;
hc->hc_magic = HB_CB_MAGIC;
}
-EXPORT_SYMBOL(hb_setup_callback);
+EXPORT_SYMBOL_GPL(hb_setup_callback);
int hb_register_callback(struct hb_callback_func *hc)
{
@@ -1270,7 +1270,7 @@
return 0;
}
-EXPORT_SYMBOL(hb_register_callback);
+EXPORT_SYMBOL_GPL(hb_register_callback);
int hb_unregister_callback(struct hb_callback_func *hc)
{
@@ -1287,7 +1287,7 @@
return 0;
}
-EXPORT_SYMBOL(hb_unregister_callback);
+EXPORT_SYMBOL_GPL(hb_unregister_callback);
/* Makes sure our local node is configured with a node number, and is
* heartbeating. */
@@ -1314,4 +1314,4 @@
return 1;
}
-EXPORT_SYMBOL(hb_check_local_node_heartbeating);
+EXPORT_SYMBOL_GPL(hb_check_local_node_heartbeating);
Modified: trunk/fs/ocfs2/cluster/masklog.c
===================================================================
--- trunk/fs/ocfs2/cluster/masklog.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/cluster/masklog.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -29,9 +29,9 @@
#include "masklog.h"
struct mlog_bits mlog_and_bits = MLOG_BITS_RHS(MLOG_INITIAL_AND_MASK);
-EXPORT_SYMBOL(mlog_and_bits);
+EXPORT_SYMBOL_GPL(mlog_and_bits);
struct mlog_bits mlog_not_bits = MLOG_BITS_RHS(MLOG_INITIAL_NOT_MASK);
-EXPORT_SYMBOL(mlog_not_bits);
+EXPORT_SYMBOL_GPL(mlog_not_bits);
static char *mlog_bit_names[MLOG_MAX_BITS];
@@ -220,4 +220,4 @@
return 0;
}
-EXPORT_SYMBOL(mlog_init_proc);
+EXPORT_SYMBOL_GPL(mlog_init_proc);
Modified: trunk/fs/ocfs2/cluster/net_proc.c
===================================================================
--- trunk/fs/ocfs2/cluster/net_proc.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/cluster/net_proc.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -358,7 +358,7 @@
remove_proc_entry(SC_PROC_NAME, parent);
remove_proc_entry(NST_PROC_NAME, parent);
}
-EXPORT_SYMBOL(net_proc_exit);
+EXPORT_SYMBOL_GPL(net_proc_exit);
int net_proc_init(struct proc_dir_entry *parent)
{
@@ -382,4 +382,4 @@
return ret;
}
-EXPORT_SYMBOL(net_proc_init);
+EXPORT_SYMBOL_GPL(net_proc_init);
Modified: trunk/fs/ocfs2/cluster/nodemanager.c
===================================================================
--- trunk/fs/ocfs2/cluster/nodemanager.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/cluster/nodemanager.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -94,7 +94,7 @@
{
return ocfs2_hb_ctl_path;
}
-EXPORT_SYMBOL(nm_get_hb_ctl_path);
+EXPORT_SYMBOL_GPL(nm_get_hb_ctl_path);
struct nm_cluster {
struct config_group cl_group;
@@ -122,7 +122,7 @@
out:
return node;
}
-EXPORT_SYMBOL(nm_get_node_by_num);
+EXPORT_SYMBOL_GPL(nm_get_node_by_num);
int nm_configured_node_map(unsigned long *map, unsigned bytes)
{
@@ -139,7 +139,7 @@
return 0;
}
-EXPORT_SYMBOL(nm_configured_node_map);
+EXPORT_SYMBOL_GPL(nm_configured_node_map);
static struct nm_node * nm_node_ip_tree_lookup(struct nm_cluster *cluster,
u32 ip_needle,
@@ -189,19 +189,19 @@
out:
return node;
}
-EXPORT_SYMBOL(nm_get_node_by_ip);
+EXPORT_SYMBOL_GPL(nm_get_node_by_ip);
void nm_node_put(struct nm_node *node)
{
config_item_put(&node->nd_item);
}
-EXPORT_SYMBOL(nm_node_put);
+EXPORT_SYMBOL_GPL(nm_node_put);
void nm_node_get(struct nm_node *node)
{
config_item_get(&node->nd_item);
}
-EXPORT_SYMBOL(nm_node_get);
+EXPORT_SYMBOL_GPL(nm_node_get);
u8 nm_this_node(void)
{
@@ -212,7 +212,7 @@
return node_num;
}
-EXPORT_SYMBOL(nm_this_node);
+EXPORT_SYMBOL_GPL(nm_this_node);
/* node configfs bits */
Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/cluster/tcp.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -346,7 +346,7 @@
sc_put(sc);
}
}
-EXPORT_SYMBOL(net_detach_sc);
+EXPORT_SYMBOL_GPL(net_detach_sc);
static void net_check_cb_lists(void)
{
@@ -541,7 +541,7 @@
return ret;
}
-EXPORT_SYMBOL(net_register_handler);
+EXPORT_SYMBOL_GPL(net_register_handler);
void net_unregister_handler_list(struct list_head *list)
{
@@ -560,7 +560,7 @@
}
write_unlock(&net_handler_lock);
}
-EXPORT_SYMBOL(net_unregister_handler_list);
+EXPORT_SYMBOL_GPL(net_unregister_handler_list);
static struct net_msg_handler *net_handler_get(u32 msg_type, u32 key)
{
@@ -874,7 +874,7 @@
}
return ret;
}
-EXPORT_SYMBOL(net_send_message_iov);
+EXPORT_SYMBOL_GPL(net_send_message_iov);
/*
* net_send_message
@@ -902,7 +902,7 @@
return net_send_message_iov(msg_type, key, &iov, 1,
target_node, status);
}
-EXPORT_SYMBOL(net_send_message);
+EXPORT_SYMBOL_GPL(net_send_message);
static int net_send_status_magic(struct socket *sock, net_msg *hdr,
enum net_system_error syserr, int err)
Modified: trunk/fs/ocfs2/dlm/dlmdebug.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmdebug.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/dlm/dlmdebug.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -170,7 +170,7 @@
{
dlm_print_one_lock_resource(lockid->lockres);
}
-EXPORT_SYMBOL(dlm_print_one_lock);
+EXPORT_SYMBOL_GPL(dlm_print_one_lock);
void dlm_dump_lock_resources(dlm_ctxt *dlm)
{
@@ -423,7 +423,7 @@
return dlm_errmsgs[DLM_MAXSTATS];
return dlm_errmsgs[err];
}
-EXPORT_SYMBOL(dlm_errmsg);
+EXPORT_SYMBOL_GPL(dlm_errmsg);
const char *dlm_errname(dlm_status err)
{
@@ -431,7 +431,7 @@
return dlm_errnames[DLM_MAXSTATS];
return dlm_errnames[err];
}
-EXPORT_SYMBOL(dlm_errname);
+EXPORT_SYMBOL_GPL(dlm_errname);
void dlm_test_errmsg_funcs(void)
{
Modified: trunk/fs/ocfs2/dlm/dlmdomain.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmdomain.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/dlm/dlmdomain.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -530,7 +530,7 @@
}
dlm_put(dlm);
}
-EXPORT_SYMBOL(dlm_unregister_domain);
+EXPORT_SYMBOL_GPL(dlm_unregister_domain);
static int dlm_query_join_handler(net_msg *msg, u32 len, void *data)
{
@@ -1293,7 +1293,7 @@
return dlm;
}
-EXPORT_SYMBOL(dlm_register_domain);
+EXPORT_SYMBOL_GPL(dlm_register_domain);
static LIST_HEAD(dlm_join_handlers);
Modified: trunk/fs/ocfs2/dlm/dlmlock.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmlock.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/dlm/dlmlock.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -638,4 +638,4 @@
return status;
}
-EXPORT_SYMBOL(dlmlock);
+EXPORT_SYMBOL_GPL(dlmlock);
Modified: trunk/fs/ocfs2/dlm/dlmmaster.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmmaster.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/dlm/dlmmaster.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -112,7 +112,7 @@
}
spin_unlock(&dlm_domain_lock);
}
-EXPORT_SYMBOL(dlm_dump_all_mles);
+EXPORT_SYMBOL_GPL(dlm_dump_all_mles);
#endif
@@ -1653,7 +1653,7 @@
mlog(0, "returning %d\n", ret);
return ret;
}
-EXPORT_SYMBOL(dlm_migrate_lockres);
+EXPORT_SYMBOL_GPL(dlm_migrate_lockres);
static void dlm_mark_lockres_migrating(dlm_ctxt *dlm, dlm_lock_resource *res)
Modified: trunk/fs/ocfs2/dlm/dlmunlock.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmunlock.c 2005-06-01 01:47:30 UTC (rev 2346)
+++ trunk/fs/ocfs2/dlm/dlmunlock.c 2005-06-01 17:56:07 UTC (rev 2347)
@@ -584,5 +584,5 @@
mlog(0, "returning status=%d!\n", status);
return status;
}
-EXPORT_SYMBOL(dlmunlock);
+EXPORT_SYMBOL_GPL(dlmunlock);
More information about the Ocfs2-commits
mailing list