From: Chuck Lever Date: Tue, 8 Sep 2009 23:49:47 +0000 (-0400) Subject: NFS: Mount option parser should detect missing "port=" X-Git-Tag: v2.6.32-rc1~716^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cfd74fc99a41fdc161f243e1c16199656d33ab1;p=pandora-kernel.git NFS: Mount option parser should detect missing "port=" The meaning of not specifying the "port=" mount option is different for "-t nfs" and "-t nfs4" mounts. The default port value for NFSv2/v3 mounts is 0, but the default for NFSv4 mounts is 2049. To support "-t nfs -o vers=4", the mount option parser must detect when "port=" is missing so that the correct default port value can be set depending on which NFS version is requested. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed