From: Bryan Schumaker <bjschuma@netapp.com>
To: Dmitry Torokhov <dtor@vmware.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: Re: 2.6.39-rc1 regression: NFS - unable to mount some shares (bisected)
Date: Thu, 31 Mar 2011 14:53:48 -0400 [thread overview]
Message-ID: <4D94CDBC.4010000@netapp.com> (raw)
In-Reply-To: <201103311019.52073.dtor@vmware.com>
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
next prev parent reply other threads:[~2011-03-31 18:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 22:31 2.6.39-rc1 regression: NFS - unable to mount some shares (bisected) Dmitry Torokhov
2011-03-31 16:23 ` Dmitry Torokhov
2011-03-31 16:50 ` Dmitry Torokhov
2011-03-31 17:15 ` Bryan Schumaker
2011-03-31 17:19 ` Dmitry Torokhov
2011-03-31 18:53 ` Bryan Schumaker [this message]
2011-03-31 22:11 ` Dmitry Torokhov
-- strict thread matches above, loose matches on Subject: below --
2011-03-30 20:38 Dmitry Torokhov
2011-03-30 21:03 ` Bryan Schumaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D94CDBC.4010000@netapp.com \
--to=bjschuma@netapp.com \
--cc=Trond.Myklebust@netapp.com \
--cc=dtor@vmware.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox