Fix crash bug on smbd shutdown when using FOPENDIR() found by Volker.
commit4c77d620e6cc5ea31f4a8f0bf9c8dab81f5f1002
authorJeremy Allison <jra@samba.org>
Thu, 17 Mar 2011 22:55:15 +0000 (17 15:55 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 17 Mar 2011 22:55:15 +0000 (17 15:55 -0700)
treed8ea1d607764a73b7628482dae8f7fbe7c16d17c
parent9bc10bde1416655293ad486384f8044fb79006ce
Fix crash bug on smbd shutdown when using FOPENDIR() found by Volker.

The key was allowing the dptr_idle code to be triggered. We were
closing the dirp->dir handle without updating the underlying fd
in the open fsp.

Jeremy.
source3/smbd/dir.c