aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4state.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index a30f51eb048f..209df6976a5b 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1876,8 +1876,8 @@ int nfs4_discover_server_trunking(struct nfs_client *clp,
1876 i = 0; 1876 i = 0;
1877 1877
1878 mutex_lock(&nfs_clid_init_mutex); 1878 mutex_lock(&nfs_clid_init_mutex);
1879 status = -ENOENT;
1880again: 1879again:
1880 status = -ENOENT;
1881 cred = ops->get_clid_cred(clp); 1881 cred = ops->get_clid_cred(clp);
1882 if (cred == NULL) 1882 if (cred == NULL)
1883 goto out_unlock; 1883 goto out_unlock;
@@ -1916,6 +1916,11 @@ again:
1916 case -NFS4ERR_NOT_SAME: /* FixMe: implement recovery 1916 case -NFS4ERR_NOT_SAME: /* FixMe: implement recovery
1917 * in nfs4_exchange_id */ 1917 * in nfs4_exchange_id */
1918 status = -EKEYEXPIRED; 1918 status = -EKEYEXPIRED;
1919 break;
1920 default:
1921 pr_warn("NFS: %s unhandled error %d. Exiting with error EIO\n",
1922 __func__, status);
1923 status = -EIO;
1919 } 1924 }
1920 1925
1921out_unlock: 1926out_unlock: