diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-02 14:32:08 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-02 14:32:08 +1000 |
commit | 10f92c9cb5be34b193580fbadf8c677b0253d842 (patch) | |
tree | e8c53c6cba313a3c56340e762c8dc69eb3214d3d | |
parent | 42cd86e00d9e3345cdd950cfe4ac1052522352a6 (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; |