From: Chuck Lever Date: Mon, 16 Jul 2007 20:28:36 +0000 (-0400) Subject: mount.nfs: Always preset nfs_mount_version X-Git-Tag: nfs-utils-1-1-1~145 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=f014bb7f4dbdc45572849465a6410512abffa7ea;hp=f014bb7f4dbdc45572849465a6410512abffa7ea mount.nfs: Always preset nfs_mount_version nfs_mount_version is a global integer that is set based on a guess about which nfs_mount_data version is appropriate for the kernel we're running on. Make it always available and have the correct value before calling mount and unmount so they don't have to worry about setting it themselves. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown ---