summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-13 09:30:35 -0700
committerJeremy Allison <jra@samba.org>2010-07-13 09:30:35 -0700
commit5bdb8b472ce9c8072d4ffade4075f9ec17ae3819 (patch)
tree7c4830f8ea44048f9228d59c8ed7129c218f36e0 /source3/smbd/globals.h
parent53e1586e2a2c32ad57524343de81f9cff5882b48 (diff)
downloadsamba-5bdb8b472ce9c8072d4ffade4075f9ec17ae3819.tar.gz
samba-5bdb8b472ce9c8072d4ffade4075f9ec17ae3819.tar.bz2
samba-5bdb8b472ce9c8072d4ffade4075f9ec17ae3819.zip
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.
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 9d9688f8a9..c618efad05 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -115,6 +115,7 @@ extern int conn_ctx_stack_ndx;
struct vfs_init_function_entry;
extern struct vfs_init_function_entry *backends;
extern char *sparse_buf;
+extern char *LastDir;
/* Current number of oplocks we have outstanding. */
extern int32_t exclusive_oplocks_open;