You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[TIPC] Avoid polluting the global namespace
This patch adds a tipc_ prefix to all externally visible symbols. Signed-off-by: Per Liden <per.liden@ericsson.com>
This commit is contained in:
+5
-5
@@ -1183,7 +1183,7 @@ static u32 dispatch(struct tipc_port *tport, struct sk_buff *buf)
|
||||
if (unlikely(msg_errcode(msg) && (sock->state == SS_CONNECTED))) {
|
||||
sock->state = SS_DISCONNECTING;
|
||||
/* Note: Use signal since port lock is already taken! */
|
||||
k_signal((Handler)async_disconnect, tport->ref);
|
||||
tipc_k_signal((Handler)async_disconnect, tport->ref);
|
||||
}
|
||||
|
||||
/* Enqueue message (finally!) */
|
||||
@@ -1683,11 +1683,11 @@ static struct proto tipc_proto = {
|
||||
};
|
||||
|
||||
/**
|
||||
* socket_init - initialize TIPC socket interface
|
||||
* tipc_socket_init - initialize TIPC socket interface
|
||||
*
|
||||
* Returns 0 on success, errno otherwise
|
||||
*/
|
||||
int socket_init(void)
|
||||
int tipc_socket_init(void)
|
||||
{
|
||||
int res;
|
||||
|
||||
@@ -1710,9 +1710,9 @@ int socket_init(void)
|
||||
}
|
||||
|
||||
/**
|
||||
* sock_stop - stop TIPC socket interface
|
||||
* tipc_socket_stop - stop TIPC socket interface
|
||||
*/
|
||||
void socket_stop(void)
|
||||
void tipc_socket_stop(void)
|
||||
{
|
||||
if (!sockets_enabled)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user