diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-04 19:22:30 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-04 19:22:30 +1000 |
commit | e9fe3216d25e34d916f33859e2f61fa8f7f0dbb9 (patch) | |
tree | a83f49cb60d9d443804b9294e5f9269052d9782d | |
parent | 0abe2ec63e405691e424b2352057dc21f2cba4ad (diff) |
NFS: Fix the mount protocol defaults for binary mounts
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | 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 13c378993f03..c0d66804d409 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1571,6 +1571,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; |