Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-1347 ptlrpc: makes EXPORT_SYMBOL follows function body
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
connection.c
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
36d962f
..
c8f749b
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-88,6
+88,7
@@
out:
libcfs_nid2str(conn->c_peer.nid));
return conn;
}
libcfs_nid2str(conn->c_peer.nid));
return conn;
}
+EXPORT_SYMBOL(ptlrpc_connection_get);
int ptlrpc_connection_put(struct ptlrpc_connection *conn)
{
int ptlrpc_connection_put(struct ptlrpc_connection *conn)
{
@@
-124,6
+125,7
@@
int ptlrpc_connection_put(struct ptlrpc_connection *conn)
RETURN(rc);
}
RETURN(rc);
}
+EXPORT_SYMBOL(ptlrpc_connection_put);
struct ptlrpc_connection *
ptlrpc_connection_addref(struct ptlrpc_connection *conn)
struct ptlrpc_connection *
ptlrpc_connection_addref(struct ptlrpc_connection *conn)
@@
-137,6
+139,7
@@
ptlrpc_connection_addref(struct ptlrpc_connection *conn)
RETURN(conn);
}
RETURN(conn);
}
+EXPORT_SYMBOL(ptlrpc_connection_addref);
int ptlrpc_connection_init(void)
{
int ptlrpc_connection_init(void)
{
@@
-154,12
+157,14
@@
int ptlrpc_connection_init(void)
RETURN(0);
}
RETURN(0);
}
+EXPORT_SYMBOL(ptlrpc_connection_init);
void ptlrpc_connection_fini(void) {
ENTRY;
cfs_hash_putref(conn_hash);
EXIT;
}
void ptlrpc_connection_fini(void) {
ENTRY;
cfs_hash_putref(conn_hash);
EXIT;
}
+EXPORT_SYMBOL(ptlrpc_connection_fini);
/*
* Hash operations for net_peer<->connection
/*
* Hash operations for net_peer<->connection