Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 625cdd78 authored by Dan Carpenter's avatar Dan Carpenter Committed by J. Bruce Fields
Browse files

svcauth_gss: fix error code in use_gss_proxy()



This should return zero on success and -EBUSY on error so the type
needs to be int instead of bool.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent f722406f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;