Commit bfcc4666 authored by Max Kellermann's avatar Max Kellermann

lib/nfs/Glue: add assertion

parent 3d2558bd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment