Commit 32bca649 authored by Max Kellermann's avatar Max Kellermann

lib/nfs/Connection: add assertions

parent 7fa1a84e
...@@ -380,6 +380,8 @@ NfsConnection::DeferClose(struct nfsfh *fh) ...@@ -380,6 +380,8 @@ NfsConnection::DeferClose(struct nfsfh *fh)
assert(GetEventLoop().IsInside()); assert(GetEventLoop().IsInside());
assert(in_event); assert(in_event);
assert(in_service); assert(in_service);
assert(context != nullptr);
assert(fh != nullptr);
deferred_close.push_front(fh); deferred_close.push_front(fh);
} }
......
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