llcache: pass the cb_pw in query_finished

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-08-04 09:27:23 +01:00
parent 90fe920e07
commit 386d803371

View File

@ -2270,6 +2270,7 @@ static nserror llcache_query_handle_response(bool proceed, void *cbpw)
/* Tell all the users that we're leaving query state */
event.type = LLCACHE_EVENT_QUERY_FINISHED;
event.data.query.cb_pw = object;
/* Refetch, using existing fetch parameters, if client allows us to */
if (llcache_send_event_to_users(object, &event) == NSERROR_OK && proceed)