aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/fs.h
diff options
context:
space:
mode:
authorMarvin Borner2021-05-20 20:41:24 +0200
committerMarvin Borner2021-05-20 20:41:24 +0200
commit298aaf63f15350e6248d5a96e8c6a63b0ec93e0f (patch)
tree952331f841b4d02d0b7189da716648df5cdb4d8e /kernel/inc/fs.h
parentb22346a9b830b642e684e13cf4946d8ef8d8e1ca (diff)
Major restructuring
Diffstat (limited to 'kernel/inc/fs.h')
-rw-r--r--kernel/inc/fs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/inc/fs.h b/kernel/inc/fs.h
index a1cb696..1ea4b21 100644
--- a/kernel/inc/fs.h
+++ b/kernel/inc/fs.h
@@ -21,8 +21,6 @@ struct vfs_dev {
void *data;
res (*read)(void *buf, u32 offset, u32 count, struct vfs_dev *dev) NONNULL;
res (*write)(const void *buf, u32 offset, u32 count, struct vfs_dev *dev) NONNULL;
- res (*ioctl)(u32 request, void *arg1, void *arg2, void *arg3, struct vfs_dev *dev)
- ATTR((nonnull(5)));
};
/**
@@ -40,8 +38,6 @@ struct vfs {
struct vfs_dev *dev) NONNULL;
res (*write)(const char *path, const void *buf, u32 offset, u32 count,
struct vfs_dev *dev) NONNULL;
- res (*ioctl)(const char *path, u32 request, void *arg1, void *arg2, void *arg3,
- struct vfs_dev *dev) ATTR((nonnull(1, 6)));
res (*stat)(const char *path, struct stat *buf, struct vfs_dev *dev) NONNULL;
res (*block)(const char *path, u32 func_ptr, struct vfs_dev *dev) NONNULL;
res (*perm)(const char *path, enum vfs_perm perm, struct vfs_dev *dev) NONNULL;