diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 68788f022461560ace74dd4cb1f6a7e7dfb0d30c..124a9f97c36683dbb273c0a5eff7eb7f784155ae 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -7793,7 +7793,7 @@ static int nfs4_sp4_select_mode(struct nfs_client *clp, } out: clp->cl_sp4_flags = flags; - return 0; + return ret; } struct nfs41_exchange_id_data {