client: fix readdir in rhel 7.5
backports backported changes to the readdir interface, but reverted part of it. other parts were left behind and used in special circumstances, ie when the user has previously indicated that the new interface is available. we used the new interface (ever since 3.11 introduced it), but did not indicate that we support it (because that's a redhat thing).
Showing with 4 additions and 0 deletions