mirror of
https://github.com/drasko/codezero.git
synced 2026-02-15 03:13:16 +01:00
Moved vnum to priv_data of vm_file since its only related to vfs files.
This commit is contained in:
@@ -17,5 +17,6 @@ int sys_read(l4id_t sender, int fd, void *buf, int count);
|
||||
int sys_write(l4id_t sender, int fd, void *buf, int count);
|
||||
int sys_lseek(l4id_t sender, int fd, off_t offset, int whence);
|
||||
|
||||
#define vm_file_to_vnum(f) (*(unsigned long *)((f)->priv_data))
|
||||
extern struct list_head vm_file_list;
|
||||
#endif /* __MM0_FILE_H__ */
|
||||
|
||||
Reference in New Issue
Block a user