vfs: further switch to dirent tracking
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
f9d760993d
commit
7799f3b622
3 changed files with 7 additions and 16 deletions
|
|
@ -46,10 +46,10 @@ struct inode_ops {
|
|||
};
|
||||
|
||||
struct _inode {
|
||||
fs_t *fs;
|
||||
u64 mode;
|
||||
u64 ino_num;
|
||||
u64 file_size;
|
||||
dirent_t *dentry;
|
||||
|
||||
u64 flags;
|
||||
|
||||
|
|
@ -65,6 +65,7 @@ struct _inode {
|
|||
};
|
||||
|
||||
struct _dirent {
|
||||
fs_t *fs;
|
||||
inode_t *inode;
|
||||
union {
|
||||
u64 ino_num;
|
||||
|
|
|
|||
Loading…
Reference in a new issue