From: Bryan Schumaker Date: Fri, 8 Jun 2012 15:32:56 +0000 (-0400) Subject: NFS: Use the NFS_DEFAULT_VERSION for v2 and v3 mounts X-Git-Tag: v3.5-rc3~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5afc8da5b881633717bfc0510792428aa01fa3f;p=pandora-kernel.git 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 Signed-off-by: Bryan Schumaker Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed