Re: 2.6.26-rc8-mm1: unable to mount nfs shares
- From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Jul 2008 16:07:11 -0700
On Sat, 5 Jul 2008 00:49:33 +0200 Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> wrote:
$ mount some/nfs/share
mount.nfs: Input/output error
dmesg says: RPC: transport (0) not supported
but I guess it's known issue http://lkml.org/lkml/2008/7/1/438 ?
OK, thanks, I put Trond's fix into hot-fixes/
--- a/fs/nfs/super.c~nfs-fix-the-mount-protocol-defaults-for-binary-mounts
+++ a/fs/nfs/super.c
@@ -1571,6 +1571,7 @@ static int nfs_validate_mount_data(void
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;
_
--
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/
- References:
- 2.6.26-rc8-mm1
- From: Andrew Morton
- Re: 2.6.26-rc8-mm1: unable to mount nfs shares
- From: Mariusz Kozlowski
- 2.6.26-rc8-mm1
- Prev by Date: Re: [PATCH] uio: User IRQ Mode
- Next by Date: Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
- Previous by thread: Re: 2.6.26-rc8-mm1: unable to mount nfs shares
- Next by thread: [BUG] 2.6.26-rc8-mm1 - sleeping function called from invalid context at include/linux/pagemap.h:291
- Index(es):
Relevant Pages
|