Remove the "Ugly hack" that was the second use of dirfd().
commit0fe894fb89f4867e266bb04670a58101311e0234
authorJeremy Allison <jra@samba.org>
Wed, 10 Apr 2013 23:29:03 +0000 (10 16:29 -0700)
committerAndreas Schneider <asn@samba.org>
Fri, 12 Apr 2013 12:33:40 +0000 (12 14:33 +0200)
tree3c418c7a4f4d312717496dbb7c6f311f34d1d7c1
parentea14c9443178da9ae6ccbe71e573156396f6f699
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>
source3/smbd/dir.c