From 8138ba97608ff0cd4e443994390f277eca3d7b28 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 7 Jul 2024 17:42:18 +0200 Subject: kernel/vfs: split vfs_backend_refdown into two functions --- src/kernel/handle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/kernel/handle.c') 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? -- cgit v1.2.3