Bryan Schumaker c5afc8da5b NFS: Use the NFS_DEFAULT_VERSION for v2 and v3 mounts
Older versions of nfs utils don't always pass a "vers=" mount option for
NFS.  This chould lead to attempts at using NFS v0 due to a zeroed out
nfs_parsed_mount_data struct.  I solve this by setting the default NFS
version to NFS_DEFAULT_VERSION in the v2 and v3 cases (v4 has already been
taken care of by a similar patch).

Reported-by: Joerg Roedel <joro@&bytes.org>
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-06-09 14:38:59 -04:00
..
2012-05-04 14:59:51 -04:00
2012-05-29 10:43:51 -07:00
2012-05-14 17:30:26 -07:00
2012-05-29 10:43:51 -07:00
2012-05-14 17:42:22 -07:00
2012-05-14 17:42:22 -07:00
2012-03-11 15:14:16 -04:00
2012-05-29 10:43:51 -07:00
2012-05-22 16:45:42 -04:00
2012-05-29 10:43:51 -07:00
2012-06-05 18:38:47 -04:00