]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: proto=netid forces address family when resolving server names
authorChuck Lever <chuck.lever@oracle.com>
Fri, 11 Dec 2009 15:48:24 +0000 (10:48 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 11 Dec 2009 21:13:16 +0000 (16:13 -0500)
commit0e90c66a66946975029ef08038556e229955eb07
tree687e2d9b484b0f759d732ba8de429d9713193323
parentb58c5b62ac47f84bca17fc7999e30b0a43ccb92d
mount.nfs: proto=netid forces address family when resolving server names

Using the netid settings, determine the correct address family to use
for NFS and MNT server name resolution.  Use this family when
resolving the server name for the addr= and mountaddr= options.

This patch assumes the kernel can recognize a netid, instead of a
protocol name, as the value of the proto= options.

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