diff options
Diffstat (limited to 'src/kernel/handle.c')
-rw-r--r-- | src/kernel/handle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/handle.c b/src/kernel/handle.c index 882a4fa..f216c13 100644 --- a/src/kernel/handle.c +++ b/src/kernel/handle.c @@ -39,8 +39,9 @@ void handle_close(Handle *h) { if (h->req) vfsreq_finish_short(h->req, -1); } - if (h->backend) - vfs_backend_refdown(h->backend, true); + if (h->backend) { + vfsback_userdown(h->backend); + } // TODO sanity check to check if refcount is true. handle_sanity? |