From bfcc466647bbf9566e1352c6b6257dd59a66a145 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Oct 2014 07:59:51 +0200 Subject: lib/nfs/Glue: add assertion --- src/lib/nfs/Glue.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lib/nfs/Glue.cxx b/src/lib/nfs/Glue.cxx index 287799b2f..6e1e0f99b 100644 --- a/src/lib/nfs/Glue.cxx +++ b/src/lib/nfs/Glue.cxx @@ -52,6 +52,7 @@ nfs_finish() NfsConnection & nfs_get_connection(const char *server, const char *export_name) { + assert(in_use > 0); assert(io_thread_inside()); return nfs_glue->GetConnection(server, export_name); -- cgit v1.2.3