Moved vnum to priv_data of vm_file since its only related to vfs files.

This commit is contained in:
Bahadir Balban
2008-03-25 23:32:51 +00:00
parent 4b1abc60a6
commit dd3f35bbd4
4 changed files with 7 additions and 5 deletions

View File

@@ -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__ */

View File

@@ -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;