lib/nfs/Glue: add assertion

This commit is contained in:
Max Kellermann 2014-10-09 07:59:51 +02:00
parent 3d2558bde6
commit bfcc466647

View File

@ -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);