ext2 chmod() and chown()

This commit is contained in:
Mark
2020-01-27 12:11:55 +02:00
parent 2cc9c6ef07
commit c28da05558
3 changed files with 107 additions and 1 deletions
+3
View File
@@ -12,3 +12,6 @@ int ext2_read_block(struct fs *ext2, void *blk, uint32_t no);
int ext2_read_inode_block(struct fs *ext2, struct ext2_inode *inode, void *block, uint32_t index);
int ext2_read_inode(struct fs *ext2, struct ext2_inode *dst, uint32_t ino);
// NOTE: this function automatically updates access and modification time
// on the inode written
int ext2_write_inode(struct fs *ext2, struct ext2_inode *node, uint32_t ino);