X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/fac3bbf2b2634f4f15cb33ece3acfa39db1433df..96e23fa3c6eabf8a6efebac24b740c5d4a2a1050:/lunaix-os/includes/lunaix/fs/twifs.h?ds=inline diff --git a/lunaix-os/includes/lunaix/fs/twifs.h b/lunaix-os/includes/lunaix/fs/twifs.h index f2d6b15..f4614d8 100644 --- a/lunaix-os/includes/lunaix/fs/twifs.h +++ b/lunaix-os/includes/lunaix/fs/twifs.h @@ -5,19 +5,22 @@ struct twifs_node { - struct v_inode* inode; struct hstr name; + inode_t ino_id; void* data; uint32_t itype; struct llist_header children; struct llist_header siblings; struct { - int (*write)(struct v_file* file, + int (*write)(struct v_inode* inode, void* buffer, size_t len, size_t fpos); - int (*read)(struct v_file* file, void* buffer, size_t len, size_t fpos); + int (*read)(struct v_inode* inode, + void* buffer, + size_t len, + size_t fpos); } ops; };