]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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)
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>

No differences found