aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r--fs/nfsd/nfs4callback.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 143da2eecd7b..a08580553fda 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -473,7 +473,8 @@ static int max_cb_time(void)
473/* Reference counting, callback cleanup, etc., all look racy as heck. 473/* Reference counting, callback cleanup, etc., all look racy as heck.
474 * And why is cl_cb_set an atomic? */ 474 * And why is cl_cb_set an atomic? */
475 475
476int setup_callback_client(struct nfs4_client *clp, struct nfs4_cb_conn *conn) 476static int setup_callback_client(struct nfs4_client *clp,
477 struct nfs4_cb_conn *conn)
477{ 478{
478 struct rpc_timeout timeparms = { 479 struct rpc_timeout timeparms = {
479 .to_initval = max_cb_time(), 480 .to_initval = max_cb_time(),
@@ -748,13 +749,13 @@ void nfsd4_shutdown_callback(struct nfs4_client *clp)
748 flush_workqueue(callback_wq); 749 flush_workqueue(callback_wq);
749} 750}
750 751
751void nfsd4_release_cb(struct nfsd4_callback *cb) 752static void nfsd4_release_cb(struct nfsd4_callback *cb)
752{ 753{
753 if (cb->cb_ops->rpc_release) 754 if (cb->cb_ops->rpc_release)
754 cb->cb_ops->rpc_release(cb); 755 cb->cb_ops->rpc_release(cb);
755} 756}
756 757
757void nfsd4_process_cb_update(struct nfsd4_callback *cb) 758static void nfsd4_process_cb_update(struct nfsd4_callback *cb)
758{ 759{
759 struct nfs4_cb_conn conn; 760 struct nfs4_cb_conn conn;
760 struct nfs4_client *clp = cb->cb_clp; 761 struct nfs4_client *clp = cb->cb_clp;