]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 13 Jul 2011 23:24:15 +0000 (19:24 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Jul 2011 13:12:23 +0000 (09:12 -0400)
Ensure that the backchannel exports conform to the existing sunrpc
practice.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/backchannel_rqst.c
net/sunrpc/svc.c
net/sunrpc/xdr.c

index bb5593f467cbb002193e72af93f7a05ac1eae80f..91eaa26e4c425e184bb74088d00fe47d233c4343 100644 (file)
@@ -172,7 +172,7 @@ out_free:
        dprintk("RPC:       setup backchannel transport failed\n");
        return -1;
 }
-EXPORT_SYMBOL(xprt_setup_backchannel);
+EXPORT_SYMBOL_GPL(xprt_setup_backchannel);
 
 /*
  * Destroys the backchannel preallocated structures.
@@ -202,7 +202,7 @@ void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs)
        dprintk("RPC:        backchannel list empty= %s\n",
                list_empty(&xprt->bc_pa_list) ? "true" : "false");
 }
-EXPORT_SYMBOL(xprt_destroy_backchannel);
+EXPORT_SYMBOL_GPL(xprt_destroy_backchannel);
 
 /*
  * One or more rpc_rqst structure have been preallocated during the
index 3c6fe222dec681ebc3df005241a4c41f363ee692..6a69a1131fb77eb8014f77f404e26389976a3445 100644 (file)
@@ -1300,7 +1300,7 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
                return 0;
        }
 }
-EXPORT_SYMBOL(bc_svc_process);
+EXPORT_SYMBOL_GPL(bc_svc_process);
 #endif /* CONFIG_SUNRPC_BACKCHANNEL */
 
 /*
index f008c14ad34cc03703f6550e95b0144c8a572402..277ebd4bf095fd973af455363a2bf0fc476511bd 100644 (file)
@@ -126,7 +126,7 @@ xdr_terminate_string(struct xdr_buf *buf, const u32 len)
        kaddr[buf->page_base + len] = '\0';
        kunmap_atomic(kaddr, KM_USER0);
 }
-EXPORT_SYMBOL(xdr_terminate_string);
+EXPORT_SYMBOL_GPL(xdr_terminate_string);
 
 void
 xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,