From e6721fc10f5314e02ebaf024d8af75cdf0d7c24e Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Fri, 18 Jun 2021 21:41:44 +0900 Subject: [PATCH] pex: don't leave invalid connections with the server read/write methods? --- kernel/vfs/packetfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/vfs/packetfs.c b/kernel/vfs/packetfs.c index 254ab74e..7946a1c9 100644 --- a/kernel/vfs/packetfs.c +++ b/kernel/vfs/packetfs.c @@ -388,8 +388,6 @@ static fs_node_t * file_from_pex(pex_ex_t * pex) { fnode->mask = 0666; fnode->flags = FS_CHARDEVICE; fnode->open = open_pex; - fnode->read = read_server; - fnode->write = write_server; return fnode; }