nfsd: warn about impending removal of nfsdcld upcall
authorJeff Layton <jlayton@redhat.com>
Mon, 12 Nov 2012 20:00:51 +0000 (15:00 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 12 Nov 2012 23:55:10 +0000 (18:55 -0500)
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>
fs/nfsd/nfs4recover.c

index 38af61556895f32d4d478d369678e920db403f6c..6aaf5d92a43c11af668a9d941e012c9ca73ebd99 100644 (file)
@@ -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) {