summaryrefslogtreecommitdiff
path: root/src/kernel/handle.c
diff options
context:
space:
mode:
authordzwdz2023-01-11 19:35:44 +0100
committerdzwdz2023-01-11 19:37:46 +0100
commitec81fa16d837f430add92b4d2ee4bd3727ca6c6d (patch)
tree43c91abe8d6a76fcec006fe67c1b585573d3662f /src/kernel/handle.c
parentc178ab5d5ca328d5b0072d54e3dc66d1b198df7b (diff)
kernel: return EPIPE when fs_waiting on a dead filesystem
Diffstat (limited to 'src/kernel/handle.c')
-rw-r--r--src/kernel/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/handle.c b/src/kernel/handle.c
index b21ebdc..fabe559 100644
--- a/src/kernel/handle.c
+++ b/src/kernel/handle.c
@@ -36,7 +36,7 @@ void handle_close(struct handle *h) {
}
if (h->backend)
- vfs_backend_refdown(h->backend);
+ vfs_backend_refdown(h->backend, true);
// TODO sanity check to check if refcount is true. handle_sanity?