vfs: add VFS_STUB macro

This commit is contained in:
Matheus
2025-10-03 19:28:21 -03:00
parent 1551902e27
commit 1065dd53b9
+3
View File
@@ -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);