mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Dan Carpenter <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
This commit is contained in:
parent
f722406faa
commit
625cdd78d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue