summaryrefslogtreecommitdiff
path: root/fs/ext2.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 21:19:37 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 21:50:17 +0200
commit6458875860cde6421a06031702788d9969e0a5db (patch)
treee79bd4f86bd169e445d81171abf08a6f09d5794b /fs/ext2.h
parentd0e898ea995c681c92c2f6ccb7be782e05b17fe7 (diff)
EXT2: Make a function for directory creation and refactor directory entry creation code
Diffstat (limited to 'fs/ext2.h')
-rw-r--r--fs/ext2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2.h b/fs/ext2.h
index 63684da..3a2f800 100644
--- a/fs/ext2.h
+++ b/fs/ext2.h
@@ -136,4 +136,5 @@ size_t ext2_read_file_offset(const char *file, unsigned char *data,
uint64_t *file_size);
size_t ext2_read_file(const char *file, unsigned char *data, size_t size,
uint64_t *file_size);
+int ext2_create_directory(const char *path, int mode);
#endif