mirror of
https://github.com/drasko/codezero.git
synced 2026-01-19 06: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__ */
|
||||
|
||||
@@ -130,7 +130,6 @@ struct vm_object {
|
||||
|
||||
/* In memory representation of either a vfs file, a device. */
|
||||
struct vm_file {
|
||||
unsigned long vnum;
|
||||
unsigned long length;
|
||||
unsigned int type;
|
||||
struct list_head list;
|
||||
|
||||
Reference in New Issue
Block a user