Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372212
b: refs/heads/master
c: 0ff3bab
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Apr 29, 2013
1 parent 3411289 commit bf57a22
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1df7637232927ac69ed1a32e9c6b768f635b7d4
refs/heads/master: 0ff3bab530c35dd6499f7f2d639816df2e1241cd
11 changes: 10 additions & 1 deletion trunk/net/sunrpc/auth_gss/svcauth_gss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,8 @@ static bool use_gss_proxy(struct net *net)
return 0;
}

#ifdef CONFIG_PROC_FS

static bool set_gss_proxy(struct net *net, int type)
{
struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
Expand Down Expand Up @@ -1320,7 +1322,6 @@ static int wait_for_gss_proxy(struct net *net)
return wait_event_interruptible(sn->gssp_wq, gssp_ready(sn));
}

#ifdef CONFIG_PROC_FS

static ssize_t write_gssp(struct file *file, const char __user *buf,
size_t count, loff_t *ppos)
Expand Down Expand Up @@ -1406,6 +1407,14 @@ static void destroy_use_gss_proxy_proc_entry(struct net *net)
clear_gssp_clnt(sn);
}
}
#else /* CONFIG_PROC_FS */

static int create_use_gss_proxy_proc_entry(struct net *net)
{
return 0;
}

static void destroy_use_gss_proxy_proc_entry(struct net *net) {}

#endif /* CONFIG_PROC_FS */

Expand Down

0 comments on commit bf57a22

Please sign in to comment.