vfs: cleanup
This commit is contained in:
parent
eccc30372e
commit
4baf3e911b
1 changed files with 0 additions and 3 deletions
3
fs/vfs.c
3
fs/vfs.c
|
|
@ -1,6 +1,4 @@
|
|||
/* SDPX-License-Identifier: GPL-2.0-only */
|
||||
#include "kernel/common.h"
|
||||
#include "kernel/pio.h"
|
||||
#include <kernel/slab.h>
|
||||
#include <kernel/block.h>
|
||||
#include <kernel/rbtree.h>
|
||||
|
|
@ -293,7 +291,6 @@ struct vnode *vfs_mknod(const char *pathname, mode_t mode)
|
|||
if (!dir_file)
|
||||
return NULL;
|
||||
|
||||
struct fs *fs = dir_file->vnode->fs;
|
||||
struct vnode *dir_vnode = dir_file->vnode;
|
||||
|
||||
struct vnode *vnode = vfs_create_vno();
|
||||
|
|
|
|||
Loading…
Reference in a new issue