]> git.decadent.org.uk Git - nfs-utils.git/commit
text-based mount: Set addr= option in nfs_try_mount_foo()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 12 Feb 2010 18:36:17 +0000 (13:36 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 12 Feb 2010 18:41:48 +0000 (13:41 -0500)
commit0f76458dd0f9a34210e44515a67d55e713a990ce
tree87f09d9ee10a4a4bc5e07242522ef236a91a222a
parent25dd860f13b93109dfd54ef8be0bfd91e4353af1
text-based mount: Set addr= option in nfs_try_mount_foo()

When retrying a mount request with a different server address, the
addr= option may change each time through the fg/bg loop.

Instead of setting the addr= option in nfs_validate_options(), set it
in nfs_try_mount_v2v3() and nfs_try_mount_v4().  This is much the
same thing we did recently with the version-specific mount options
which might change each time through the fg/bg retry loop.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c