]> Pileus Git - ~andy/linux/commit
sunrpc: turn warn_gssd() log message into a dprintk()
authorJeff Layton <jlayton@redhat.com>
Mon, 27 Jan 2014 19:53:27 +0000 (14:53 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 27 Jan 2014 20:36:05 +0000 (15:36 -0500)
commit0ea9de0ea6a4e4a1d343130b2a159b4f986e288e
treeff8858837c0e376d513c29a78fa338ba1fbea8f0
parentd529ef83c355f97027ff85298a9709fe06216a66
sunrpc: turn warn_gssd() log message into a dprintk()

The original printk() made sense when the GSSAPI codepaths were called
only when sec=krb5* was explicitly requested. Now however, in many cases
the nfs client will try to acquire GSSAPI credentials by default, even
when it's not requested.

Since we don't have a great mechanism to distinguish between the two
cases, just turn the pr_warn into a dprintk instead. With this change we
can also get rid of the ratelimiting.

We do need to keep the EXPORT_SYMBOL(gssd_running) in place since
auth_gss.ko needs it and sunrpc.ko provides it. We can however,
eliminate the gssd_running call in the nfs code since that's a bit of a
layering violation.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4client.c
net/sunrpc/auth_gss/auth_gss.c