Cleanup kernel options a bit

This commit is contained in:
Mark
2020-08-07 12:53:58 +03:00
parent 8a21e8bf75
commit 236f4e5bf5
9 changed files with 68 additions and 38 deletions
-1
View File
@@ -115,7 +115,6 @@ static void pipe_vnode_close(struct ofile *of) {
}
static int pipe_vnode_open(struct ofile *of, int opt) {
_assert(!(of->flags & OF_SOCKET));
_assert(of->file.vnode);
// TODO: allow only one reader and many writers
of->file.pos = 0;