Revert "Remove the global char *LastDir."
authorJeremy Allison <jra@samba.org>
Tue, 13 Jul 2010 16:30:35 +0000 (09:30 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 13 Jul 2010 16:30:35 +0000 (09:30 -0700)
commit5bdb8b472ce9c8072d4ffade4075f9ec17ae3819
tree7c4830f8ea44048f9228d59c8ed7129c218f36e0
parent53e1586e2a2c32ad57524343de81f9cff5882b48
Revert "Remove the global char *LastDir."

Volker pointed out I'd missed the "last directory" cache
part of this code. Return us to caching the directory we're
in (reduces sys call load).

Mea maxima culpa.

Jeremy.

This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871.
source3/smbd/globals.c
source3/smbd/globals.h
source3/smbd/vfs.c