vfs: check for bound fifo during inactivation

This commit is contained in:
Matheus
2025-12-10 00:53:51 -03:00
parent 543aade5f0
commit 3380293cf2
+1 -1
View File
@@ -91,7 +91,7 @@ int vfs_register(vfsops_t *ops, char *name) {
void vfs_inactive(vnode_t *vnode) {
if (vnode->type == V_TYPE_SOCKET && vnode->socketbinding) {
localsock_leavebinding(vnode);
} else if (vnode->type == V_TYPE_FIFO) {
} else if (vnode->type == V_TYPE_FIFO && vnode->fifobinding) {
pipefs_leavebinding(vnode);
}
vnode->ops->inactive(vnode);