mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 22:18:21 +00:00
fs: fix fifo
This commit is contained in:
@@ -183,8 +183,10 @@ static int tmpfs_open(vnode_t **nodep, int flags, cred_t *cred) {
|
||||
return error;
|
||||
|
||||
VOP_LOCK(fifo);
|
||||
VOP_UNLOCK(node);
|
||||
error = VOP_OPEN(&fifo, flags, cred);
|
||||
VOP_UNLOCK(fifo);
|
||||
VOP_LOCK(node);
|
||||
if (error == 0) {
|
||||
*nodep = fifo;
|
||||
VOP_HOLD(fifo);
|
||||
|
||||
Reference in New Issue
Block a user