From 5bdb8b472ce9c8072d4ffade4075f9ec17ae3819 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 13 Jul 2010 09:30:35 -0700 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/globals.c') diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index 5df835d1aa..324d13a239 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -105,6 +105,7 @@ int conn_ctx_stack_ndx = 0; struct vfs_init_function_entry *backends = NULL; char *sparse_buf = NULL; +char *LastDir = NULL; /* Current number of oplocks we have outstanding. */ int32_t exclusive_oplocks_open = 0; -- cgit