projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f722406
)
svcauth_gss: fix error code in use_gss_proxy()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Sat, 11 May 2013 16:13:49 +0000
(19:13 +0300)
committer
J. Bruce Fields
<bfields@redhat.com>
Sun, 12 May 2013 18:56:30 +0000
(14:56 -0400)
This should return zero on success and -EBUSY on error so the type
needs to be int instead of bool.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/svcauth_gss.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/svcauth_gss.c
b/net/sunrpc/auth_gss/svcauth_gss.c
index 871c73c921654b14b14eface6b4f2cfe0f27d5d2..2c6a1ece54bfc4025d06679721a247a3a08118a3 100644
(file)
--- a/
net/sunrpc/auth_gss/svcauth_gss.c
+++ b/
net/sunrpc/auth_gss/svcauth_gss.c
@@
-1287,7
+1287,7
@@
static bool use_gss_proxy(struct net *net)
#ifdef CONFIG_PROC_FS
-static
bool
set_gss_proxy(struct net *net, int type)
+static
int
set_gss_proxy(struct net *net, int type)
{
struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
int ret = 0;