aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/nfs')
-rw-r--r--src/lib/nfs/Glue.cxx1
1 files changed, 1 insertions, 0 deletions
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);