diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-02-12 13:10:03 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-02-12 13:41:48 -0500 |
commit | 25dd860f13b93109dfd54ef8be0bfd91e4353af1 (patch) | |
tree | 8c33d05f0b40c39401f1499a4fb8ab43ed61ee74 /support/nfs/xio.c | |
parent | df6c9d1821585c773297fbfffa1dd315b9c84359 (diff) | |
download | nfs-utils-25dd860f13b93109dfd54ef8be0bfd91e4353af1.tar.gz nfs-utils-25dd860f13b93109dfd54ef8be0bfd91e4353af1.tar.xz nfs-utils-25dd860f13b93109dfd54ef8be0bfd91e4353af1.zip |
text-based mount: Replace nfs_lookup() with getaddrinfo(3)
Originally I thought it would be best to share the DNS query code
between the legacy mount code and the new text-based code, hence
the introduction of nfs_lookup(). However, it now appears we want
the text-based code to do a little more than take the first address
returned by the query.
So, let's invoke getaddrinfo(3) directly in stropts.c, and save
the returned addrinfo struct until the end of processing.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xio.c')
0 files changed, 0 insertions, 0 deletions