SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions
SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions As a preface to allowing arbitrary transport modules to be loaded dynamically, add EXPORT_SYMBOL_GPL for all generic transport functions that a transport implementation might want to use. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Acked-by: Tom Talpey <tmt@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
committed by
Trond Myklebust
parent
4f22ccc346
commit
1244480976
@@ -777,6 +777,7 @@ void *rpc_malloc(struct rpc_task *task, size_t size)
|
||||
task->tk_pid, size, buf);
|
||||
return &buf->data;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rpc_malloc);
|
||||
|
||||
/**
|
||||
* rpc_free - free buffer allocated via rpc_malloc
|
||||
@@ -802,6 +803,7 @@ void rpc_free(void *buffer)
|
||||
else
|
||||
kfree(buf);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rpc_free);
|
||||
|
||||
/*
|
||||
* Creation and deletion of RPC task structures
|
||||
|
Reference in New Issue
Block a user