Re: 2.6.39-rc1 regression: NFS - unable to mount some shares (bisected)
From: Bryan Schumaker
Date: Thu Mar 31 2011 - 14:54:10 EST
Hi
If you apply this patch, does it fix the problem?
Bryan
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index dfd1e6d..9bf41ea 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2204,8 +2204,6 @@ static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandl
goto out;
}
ret = nfs4_lookup_root(server, fhandle, info);
- if (ret < 0)
- ret = -EAGAIN;
out:
return ret;
}
@@ -2226,7 +2224,7 @@ static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle,
for (i = 0; i < len; i++) {
status = nfs4_lookup_root_sec(server, fhandle, info, flav_array[i]);
- if (status == 0)
+ if (status != -EPERM)
break;
}
if (status == 0)
On 03/31/2011 01:19 PM, Dmitry Torokhov wrote:
> On Thursday, March 31, 2011 10:15:41 am Bryan Schumaker wrote:
>> Thanks for the log and extra info. What setting does the server use to
>> export /toolchain? You can usually find this in /etc/exports, but it
>> may be different for NIS. I would like to set up my NFS server in a
>> similar way so I can try to reproduce what you're seeing.
>>
>
> Bryan,
>
> Unfortunately I do not have shell access to the NFS server. I can only
> provide data that can be collected from the client.
>
> [dtor@dtor-ws linus]$ showmount --exports build-toolchain
> Export list for build-toolchain:
> /apps *
> /trees *
> /toolchain *
>
> Thanks,
> Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/