Remove the "Ugly hack" that was the second use of dirfd().
commit8d96eb3666ce2e0f016068dfae60eb32ed2b518e
authorJeremy Allison <jra@samba.org>
Wed, 10 Apr 2013 23:29:03 +0000 (10 16:29 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 5 Jun 2013 10:02:42 +0000 (5 12:02 +0200)
tree0389dff3d827cbf7c85a9a55999e1a9164148522
parent93417c945e12c3d03ba5c4b1cc0b02fb8dd692e0
Remove the "Ugly hack" that was the second use of dirfd().

The destructor does all the resource deallocation needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 0fe894fb89f4867e266bb04670a58101311e0234)
source3/smbd/dir.c