Skip to content

Commit

Permalink
svcauth_gss: fix error code in use_gss_proxy()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and J. Bruce Fields committed May 12, 2013
1 parent f722406 commit 625cdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/auth_gss/svcauth_gss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 625cdd7

Please sign in to comment.