mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
vfs: add VFS_STUB macro
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <errno.h>
|
||||
#include <kernel/cred.h>
|
||||
#include <kernel/event.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define V_ATTR_MODE 1
|
||||
#define V_ATTR_UID 2
|
||||
@@ -230,6 +231,8 @@ typedef struct vops_t {
|
||||
} \
|
||||
}
|
||||
|
||||
#define VFS_STUB(x) static int x () { return ENODEV; }
|
||||
|
||||
extern vnode_t *vfsroot;
|
||||
|
||||
advlock_t *advlock_allocate(void);
|
||||
|
||||
Reference in New Issue
Block a user