memcache: Add new cache type for dfree information
authorChristof Schmitt <cs@samba.org>
Wed, 16 May 2018 20:05:36 +0000 (13:05 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 7 Jun 2018 07:40:14 +0000 (09:40 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13446

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f5d05562679f6aa691b98b4a75952f7dda7ed343)

lib/util/memcache.h

index b87746bc9284d6db6ba5986f13e593555f5e49c2..c6a5b861c6ffd167c1c55c158de3b09bc26f60e4 100644 (file)
@@ -44,7 +44,8 @@ enum memcache_number {
        SINGLETON_CACHE_TALLOC, /* talloc */
        SINGLETON_CACHE,
        SMB1_SEARCH_OFFSET_MAP,
-       SHARE_MODE_LOCK_CACHE   /* talloc */
+       SHARE_MODE_LOCK_CACHE,  /* talloc */
+       DFREE_CACHE,
 };
 
 /*