Break ioctl() up into smaller syscalls
This commit is contained in:
@ -51,7 +51,7 @@ void vfs_init_littlefs(VfsMountPoint *mp, bool format) {
|
||||
mp->mkdir = &littlefs_mkdir;
|
||||
}
|
||||
|
||||
int32_t vfs_stat(char *mountpoint, const char *path, IoctlStat *stat) {
|
||||
int32_t vfs_stat(char *mountpoint, const char *path, FsStat *stat) {
|
||||
VfsMountPoint *mp = NULL;
|
||||
|
||||
spinlock_acquire(&VFS_TABLE.spinlock);
|
||||
@ -79,7 +79,7 @@ int32_t vfs_mkdir(char *mountpoint, const char *path) {
|
||||
return mp->mkdir(mp, path);
|
||||
}
|
||||
|
||||
int32_t vfs_fetchdirent(char *mountpoint, const char *path, IoctlDirent *direntbuf, size_t idx) {
|
||||
int32_t vfs_fetchdirent(char *mountpoint, const char *path, FsDirent *direntbuf, size_t idx) {
|
||||
VfsMountPoint *mp = NULL;
|
||||
|
||||
spinlock_acquire(&VFS_TABLE.spinlock);
|
||||
|
||||
Reference in New Issue
Block a user