summaryrefslogtreecommitdiff
path: root/net/sunrpc/netns.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-11-14 07:25:18 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-12-06 13:06:31 -0500
commit89f842435c630f8426f414e6030bc2ffea0d6f81 (patch)
tree5f377121615ac15042edbfb1337d569446863b21 /net/sunrpc/netns.h
parent4b9a445e3eeb8bd9278b1ae51c1b3a651e370cd6 (diff)
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 <jlayton@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/netns.h')
-rw-r--r--net/sunrpc/netns.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/netns.h b/net/sunrpc/netns.h
index 8a8e841d1547..94e506f9d72b 100644
--- a/net/sunrpc/netns.h
+++ b/net/sunrpc/netns.h
@@ -33,8 +33,6 @@ struct sunrpc_net {
int pipe_version;
atomic_t pipe_users;
struct proc_dir_entry *use_gssp_proc;
-
- unsigned int gssd_running;
};
extern int sunrpc_net_id;