s3:dir - Add a new memcache type (non-talloc) - SMB1_SEARCH_OFFSET_MAP.
authorJeremy Allison <jra@samba.org>
Sat, 11 Jan 2014 21:58:46 +0000 (13:58 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 17 Jan 2014 08:19:22 +0000 (09:19 +0100)
We will use this in mapping 64-bit directory offset
cookies to a 32-bit counter.

https://bugzilla.samba.org/show_bug.cgi?id=2662

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 4e0c41a321b2683610748c8c176fc46aaa8d114d)

source3/include/memcache.h

index e0ac4afdf71eeda7737431500efeedfd8531da2c..9362483cea4a9bebd4dfa7965c6323dc7d8045d1 100644 (file)
@@ -40,7 +40,8 @@ enum memcache_number {
        MANGLE_HASH2_CACHE,
        PDB_GETPWSID_CACHE,     /* talloc */
        SINGLETON_CACHE_TALLOC, /* talloc */
-       SINGLETON_CACHE
+       SINGLETON_CACHE,
+       SMB1_SEARCH_OFFSET_MAP
 };
 
 /*