summaryrefslogtreecommitdiff
path: root/net/sunrpc/netns.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-01-04 16:18:03 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-01-07 00:14:16 +0400
commit1654a04cd702fd19c297c36300a6ab834cf8c072 (patch)
treed8d4a040c6614baa92b735a6b96dce962541cae7 /net/sunrpc/netns.h
parent73ca65904c5abaa29b8d9699089292239564300f (diff)
downloadlinux-1654a04cd702fd19c297c36300a6ab834cf8c072.tar.xz
sunrpc: don't wait for write before allowing reads from use-gss-proxy file
It doesn't make much sense to make reads from this procfile hang. As far as I can tell, only gssproxy itself will open this file and it never reads from it. Change it to just give the present setting of sn->use_gss_proxy without waiting for anything. Note that we do not want to call use_gss_proxy() in this codepath since an inopportune read of this file could cause it to be disabled prematurely. Cc: stable@vger.kernel.org Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/netns.h')
-rw-r--r--net/sunrpc/netns.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/netns.h b/net/sunrpc/netns.h
index 779742cfc1ff..3a260e47fad2 100644
--- a/net/sunrpc/netns.h
+++ b/net/sunrpc/netns.h
@@ -26,7 +26,6 @@ struct sunrpc_net {
unsigned int rpcb_is_af_local : 1;
struct mutex gssp_lock;
- wait_queue_head_t gssp_wq;
struct rpc_clnt *gssp_clnt;
int use_gss_proxy;
int pipe_version;