From: Paulius Zaleckas Date: Sun, 31 Oct 2010 16:21:05 +0000 (+0200) Subject: Regression: fix mounting NFS when NFSv3 support is not compiled X-Git-Tag: v2.6.37-rc3~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e657bd51f313d87fbbb22d1edf625dba87ef353;p=pandora-kernel.git Regression: fix mounting NFS when NFSv3 support is not compiled Trying to mount NFS (root partition in my case) fails if CONFIG_NFS_V3 is not selected. nfs_validate_mount_data() returns EPROTONOSUPPORT, because of this check: #ifndef CONFIG_NFS_V3 if (args->version == 3) goto out_v3_not_compiled; #endif /* !CONFIG_NFS_V3 */ and args->version was always initialized to 3. It was working in 2.6.36 Signed-off-by: Paulius Zaleckas Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed