tdb: cleanup: tdb_have_extra_locks() helper
[ira/wip.git] / lib / tdb / common / tdb_private.h
index 4e4816bd4aa7aadbbf7e1c412fd99d15ec267855..1af975de6e70b4dcac3a94006ba8e7c1789178cf 100644 (file)
@@ -234,6 +234,7 @@ int tdb_brlock(struct tdb_context *tdb,
               enum tdb_lock_flags flags);
 int tdb_brunlock(struct tdb_context *tdb,
                 int rw_type, tdb_off_t offset, size_t len);
+bool tdb_have_extra_locks(struct tdb_context *tdb);
 int tdb_transaction_lock(struct tdb_context *tdb, int ltype);
 int tdb_transaction_unlock(struct tdb_context *tdb, int ltype);
 int tdb_brlock_upgrade(struct tdb_context *tdb, tdb_off_t offset, size_t len);