From 169d6d0200548ce49d54a8950c991ab66dd7acaf Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 13 Apr 1999 06:15:03 +0000 Subject: [PATCH] Add entry.c to complete previous change --- servers/slapd/back-ldbm/entry.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 servers/slapd/back-ldbm/entry.c diff --git a/servers/slapd/back-ldbm/entry.c b/servers/slapd/back-ldbm/entry.c new file mode 100644 index 0000000000..717cf68a13 --- /dev/null +++ b/servers/slapd/back-ldbm/entry.c @@ -0,0 +1,28 @@ +/* entry.c - ldbm backend entry_release routine */ + +#include "portable.h" + +#include + +#include +#include + +#include "slap.h" +#include "back-ldbm.h" +#include "proto-back-ldbm.h" + + +int +ldbm_back_entry_release_rw( + Backend *be, + Entry *e, + int rw +) +{ + struct ldbminfo *li = (struct ldbminfo *) be->be_private; + + /* free entry and reader or writer lock */ + cache_return_entry_rw( &li->li_cache, e, rw ); + + return 0; +} -- 2.39.5