mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
pipefs: named pipe support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user