From: Randy Dunlap <rdunlap@xenotime.net>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
"Mr. Charles Edward Lever" <Chuck.Lever@oracle.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
kernel-testers@vger.kernel.org, linux-nfs@vger.kernel.org
Subject: Re: inux-next: Tree for July 1
Date: Tue, 1 Jul 2008 20:32:11 -0700 [thread overview]
Message-ID: <20080701203211.95244ebd.rdunlap@xenotime.net> (raw)
In-Reply-To: <1214959743.10317.3.camel@localhost>
On Tue, 01 Jul 2008 20:49:03 -0400 Trond Myklebust wrote:
> On Tue, 2008-07-01 at 22:36 +0200, Rafael J. Wysocki wrote:
> > I can't mount NFS shares with this kernel. I get something of this sort in
> > dmesg and it seems to be 100% reproducible:
> >
> > [ 314.058858] RPC: Registered udp transport module.
> > [ 314.058863] RPC: Registered tcp transport module.
> > [ 314.490970] RPC: transport (0) not supported
> > [ 319.246987] __ratelimit: 23 messages suppressed
>
> Does this patch fix the problem for you?
Yes. Thanks.
> -----------------------------------------------------------------------------------
> From: Trond Myklebust <Trond.Myklebust@netapp.com>
> NFS: Fix the mount protocol defaults for binary mounts
>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
> ---
>
> fs/nfs/super.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/fs/nfs/super.c b/fs/nfs/super.c
> index e09b1c2..85fbb98 100644
> --- a/fs/nfs/super.c
> +++ b/fs/nfs/super.c
> @@ -1575,6 +1575,7 @@ static int nfs_validate_mount_data(void *options,
>
> if (!(data->flags & NFS_MOUNT_TCP))
> args->nfs_server.protocol = XPRT_TRANSPORT_UDP;
> + nfs_set_transport_defaults(args);
> /* N.B. caller will free nfs_server.hostname in all cases */
> args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL);
> args->namlen = data->namlen;
>
>
> --
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
next prev parent reply other threads:[~2008-07-02 3:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080702011434.6fb403d5.sfr@canb.auug.org.au>
2008-07-01 20:36 ` inux-next: Tree for July 1 Rafael J. Wysocki
2008-07-01 20:41 ` Randy.Dunlap
2008-07-01 20:49 ` Chuck Lever
2008-07-01 21:05 ` Rafael J. Wysocki
2008-07-02 0:49 ` Trond Myklebust
2008-07-02 3:32 ` Randy Dunlap [this message]
2008-07-02 10:51 ` Rafael J. Wysocki
[not found] ` <76bd70e30807020734g3db408dcqea2a61622c83004d@mail.gmail.com>
2008-07-02 17:15 ` Trond Myklebust
[not found] ` <76bd70e30807021043x72f3aa46o8d07f2039d2ed455@mail.gmail.com>
[not found] ` <76bd70e30807021043x72f3aa46o8d07f2039d2ed455-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-02 19:02 ` Trond Myklebust
2008-07-02 23:14 ` Chuck Lever
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=20080701203211.95244ebd.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=Chuck.Lever@oracle.com \
--cc=Trond.Myklebust@netapp.com \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=sfr@canb.auug.org.au \
/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