summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-11-12 15:00:51 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-11-12 18:55:10 -0500
commit8b0554e9a24298c91de89a779a714c87073380a2 (patch)
treeafe2600941f4a755b54c0beb35b220b61838ca33
parentf3aa7e24c91ee3fd387150c2c5a9934b09f44ec5 (diff)
downloadop-kernel-dev-8b0554e9a24298c91de89a779a714c87073380a2.zip
op-kernel-dev-8b0554e9a24298c91de89a779a714c87073380a2.tar.gz
nfsd: warn about impending removal of nfsdcld upcall
Let's shoot for removing the nfsdcld upcall in 3.10. Most likely, no one is actually using it so I don't expect this warning to fire often (except maybe on misconfigured systems). Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4recover.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 38af615..6aaf5d9 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -1166,6 +1166,9 @@ nfsd4_client_tracking_init(struct net *net)
/* Finally, try to use nfsdcld */
client_tracking_ops = &nfsd4_cld_tracking_ops;
+ printk(KERN_WARNING "NFSD: the nfsdcld client tracking upcall will be "
+ "removed in 3.10. Please transition to using "
+ "nfsdcltrack.\n");
do_init:
status = client_tracking_ops->init(net);
if (status) {
OpenPOWER on IntegriCloud