From ec81fa16d837f430add92b4d2ee4bd3727ca6c6d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 11 Jan 2023 19:35:44 +0100 Subject: kernel: return EPIPE when fs_waiting on a dead filesystem --- src/kernel/handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/handle.c') 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? -- cgit v1.2.3