diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 3d739e5d15d8..721bafd95a0f 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -2100,7 +2100,7 @@ static void xs_tcp_print_stats(struct rpc_xprt *xprt, struct seq_file *seq) | |||
2100 | * we allocate pages instead doing a kmalloc like rpc_malloc is because we want | 2100 | * we allocate pages instead doing a kmalloc like rpc_malloc is because we want |
2101 | * to use the server side send routines. | 2101 | * to use the server side send routines. |
2102 | */ | 2102 | */ |
2103 | void *bc_malloc(struct rpc_task *task, size_t size) | 2103 | static void *bc_malloc(struct rpc_task *task, size_t size) |
2104 | { | 2104 | { |
2105 | struct page *page; | 2105 | struct page *page; |
2106 | struct rpc_buffer *buf; | 2106 | struct rpc_buffer *buf; |
@@ -2120,7 +2120,7 @@ void *bc_malloc(struct rpc_task *task, size_t size) | |||
2120 | /* | 2120 | /* |
2121 | * Free the space allocated in the bc_alloc routine | 2121 | * Free the space allocated in the bc_alloc routine |
2122 | */ | 2122 | */ |
2123 | void bc_free(void *buffer) | 2123 | static void bc_free(void *buffer) |
2124 | { | 2124 | { |
2125 | struct rpc_buffer *buf; | 2125 | struct rpc_buffer *buf; |
2126 | 2126 | ||