mount: revert recent fix for build problems on old systems
authorChuck Lever <chuck.lever@oracle.com>
Tue, 6 Jan 2009 17:03:26 +0000 (12:03 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 6 Jan 2009 17:03:26 +0000 (12:03 -0500)
commit265f2708bdc6030250c13d46d70ed689c140c34e
tree56498f9ab02ecfc4dcbd8c58c942568fcbc5bba3
parent6e3f696e788a56f30b5b3f8250647fe4cd63c884
mount: revert recent fix for build problems on old systems

Revert the patch that added local definitions of AI_ADDRCONFIG and
friends to utils/mount/network.c.  While old header versions don't
have those flags, even older versions of getaddrinfo(3) don't
support those flags at all.

The result is this error:

  mount.nfs: DNS resolution failed for 10.10.10.10: Bad value for ai_flags

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