|
@@ -372,10 +372,7 @@ struct nfs_client *nfs4_init_client(struct nfs_client *clp,
|
|
|
__set_bit(NFS_CS_DISCRTRY, &clp->cl_flags);
|
|
|
__set_bit(NFS_CS_NO_RETRANS_TIMEOUT, &clp->cl_flags);
|
|
|
|
|
|
- error = -EINVAL;
|
|
|
- if (gssd_running(clp->cl_net))
|
|
|
- error = nfs_create_rpc_client(clp, timeparms,
|
|
|
- RPC_AUTH_GSS_KRB5I);
|
|
|
+ error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_GSS_KRB5I);
|
|
|
if (error == -EINVAL)
|
|
|
error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_UNIX);
|
|
|
if (error < 0)
|