pipefs: named pipe support

This commit is contained in:
Matheus
2024-08-11 14:46:16 -03:00
parent b6ed9c1bac
commit 227b390f30
5 changed files with 36 additions and 14 deletions
+4
View File
@@ -1062,6 +1062,10 @@ static int ext2_open(vnode_t **vnodep, int flags, cred_t *cred) {
vnode_t *fifo;
error = pipefs_getbinding(*vnodep, &fifo);
VOP_UNLOCK(*vnodep);
if (error)
return error;
error = VOP_OPEN(&fifo, flags, cred);
if (error == 0)
*vnodep = fifo;
}