mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
vfs: check for bound fifo during inactivation
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user