diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4client.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index 73d4ecda1e36..dbb3e1f30c68 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c | |||
@@ -372,10 +372,7 @@ struct nfs_client *nfs4_init_client(struct nfs_client *clp, | |||
372 | __set_bit(NFS_CS_DISCRTRY, &clp->cl_flags); | 372 | __set_bit(NFS_CS_DISCRTRY, &clp->cl_flags); |
373 | __set_bit(NFS_CS_NO_RETRANS_TIMEOUT, &clp->cl_flags); | 373 | __set_bit(NFS_CS_NO_RETRANS_TIMEOUT, &clp->cl_flags); |
374 | 374 | ||
375 | error = -EINVAL; | 375 | error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_GSS_KRB5I); |
376 | if (gssd_running(clp->cl_net)) | ||
377 | error = nfs_create_rpc_client(clp, timeparms, | ||
378 | RPC_AUTH_GSS_KRB5I); | ||
379 | if (error == -EINVAL) | 376 | if (error == -EINVAL) |
380 | error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_UNIX); | 377 | error = nfs_create_rpc_client(clp, timeparms, RPC_AUTH_UNIX); |
381 | if (error < 0) | 378 | if (error < 0) |