diff options
Diffstat (limited to 'toys/e2fs.h')
-rw-r--r-- | toys/e2fs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/e2fs.h b/toys/e2fs.h index bcffa3c6..5a2cb64d 100644 --- a/toys/e2fs.h +++ b/toys/e2fs.h @@ -80,7 +80,7 @@ struct ext2_dentry { uint16_t rec_len; // Directory entry length uint8_t name_len; // Name length uint8_t file_type; - char name[255]; // File name + char name[0]; // File name }; struct ext2_inode { @@ -109,8 +109,6 @@ struct ext2_inode { uint32_t reserved2; }; - - #define EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001 #define EXT2_FEATURE_COMPAT_IMAGIC_INODES 0x0002 #define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 |