From 416a7a10014299fd08bf4b35e4ffa0870cd330b0 Mon Sep 17 00:00:00 2001 From: dormando Date: Sat, 29 Aug 2020 23:15:23 -0700 Subject: core: move more storage functions to storage.c extstore.h is now only used from storage.c. starting a path towards getting the storage interface to be more generalized. should be no functional changes. --- proto_bin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto_bin.c') diff --git a/proto_bin.c b/proto_bin.c index 3e9c38f..70b196f 100644 --- a/proto_bin.c +++ b/proto_bin.c @@ -6,6 +6,7 @@ #include "memcached.h" #include "proto_bin.h" +#include "storage.h" #ifdef TLS #include "tls.h" #endif @@ -523,7 +524,7 @@ static void process_bin_get_or_touch(conn *c, char *extbuf) { /* Add the data minus the CRLF */ #ifdef EXTSTORE if (it->it_flags & ITEM_HDR) { - if (_get_extstore(c, it, c->resp) != 0) { + if (storage_get_item(c, it, c->resp) != 0) { pthread_mutex_lock(&c->thread->stats.mutex); c->thread->stats.get_oom_extstore++; pthread_mutex_unlock(&c->thread->stats.mutex); -- cgit v1.2.1