Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL

Ensure that the backchannel exports conform to the existing sunrpc
practice.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

+4 -4
+2 -2
net/sunrpc/backchannel_rqst.c
··· 172 172 dprintk("RPC: setup backchannel transport failed\n"); 173 173 return -1; 174 174 } 175 - EXPORT_SYMBOL(xprt_setup_backchannel); 175 + EXPORT_SYMBOL_GPL(xprt_setup_backchannel); 176 176 177 177 /* 178 178 * Destroys the backchannel preallocated structures. ··· 202 202 dprintk("RPC: backchannel list empty= %s\n", 203 203 list_empty(&xprt->bc_pa_list) ? "true" : "false"); 204 204 } 205 - EXPORT_SYMBOL(xprt_destroy_backchannel); 205 + EXPORT_SYMBOL_GPL(xprt_destroy_backchannel); 206 206 207 207 /* 208 208 * One or more rpc_rqst structure have been preallocated during the
+1 -1
net/sunrpc/svc.c
··· 1300 1300 return 0; 1301 1301 } 1302 1302 } 1303 - EXPORT_SYMBOL(bc_svc_process); 1303 + EXPORT_SYMBOL_GPL(bc_svc_process); 1304 1304 #endif /* CONFIG_SUNRPC_BACKCHANNEL */ 1305 1305 1306 1306 /*
+1 -1
net/sunrpc/xdr.c
··· 126 126 kaddr[buf->page_base + len] = '\0'; 127 127 kunmap_atomic(kaddr, KM_USER0); 128 128 } 129 - EXPORT_SYMBOL(xdr_terminate_string); 129 + EXPORT_SYMBOL_GPL(xdr_terminate_string); 130 130 131 131 void 132 132 xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,