diff options
author | Rob Landley <rob@landley.net> | 2007-02-04 19:14:58 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-02-04 19:14:58 -0500 |
commit | 720fc26d33352407715cb286a4edc23d15906d5f (patch) | |
tree | f0f621317e0e2ffc895b7b814488d0bc12fd11ed /toys/e2fs.h | |
parent | 97c63ecb359138a04073e043b85bf928a14d7e8a (diff) | |
download | toybox-720fc26d33352407715cb286a4edc23d15906d5f.tar.gz |
Add parent pointer to dirtree, more work on mke2fs (populate dirtree, count
index blocks).
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 |