From: Jeff Layton Date: Thu, 14 Nov 2013 12:25:18 +0000 (-0500) Subject: sunrpc: replace sunrpc_net->gssd_running flag with a more reliable check X-Git-Tag: v3.14-rc1~77^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f842435c630f8426f414e6030bc2ffea0d6f81;p=pandora-kernel.git sunrpc: replace sunrpc_net->gssd_running flag with a more reliable check Now that we have a more reliable method to tell if gssd is running, we can replace the sn->gssd_running flag with a function that will query to see if it's up and running. There's also no need to attempt an upcall that we know will fail, so just return -EACCES if gssd isn't running. Finally, fix the warn_gss() message not to claim that that the upcall timed out since we don't necesarily perform one now when gssd isn't running, and remove the extraneous newline from the message. Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed