|
@@ -3416,16 +3416,11 @@ static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandl
|
|
|
.pseudoflavor = flavor,
|
|
.pseudoflavor = flavor,
|
|
|
};
|
|
};
|
|
|
struct rpc_auth *auth;
|
|
struct rpc_auth *auth;
|
|
|
- int ret;
|
|
|
|
|
|
|
|
|
|
auth = rpcauth_create(&auth_args, server->client);
|
|
auth = rpcauth_create(&auth_args, server->client);
|
|
|
- if (IS_ERR(auth)) {
|
|
|
|
|
- ret = -EACCES;
|
|
|
|
|
- goto out;
|
|
|
|
|
- }
|
|
|
|
|
- ret = nfs4_lookup_root(server, fhandle, info);
|
|
|
|
|
-out:
|
|
|
|
|
- return ret;
|
|
|
|
|
|
|
+ if (IS_ERR(auth))
|
|
|
|
|
+ return -EACCES;
|
|
|
|
|
+ return nfs4_lookup_root(server, fhandle, info);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
/*
|