WIP moved superblock to entry append

This commit is contained in:
Christopher Haster
2018-03-23 16:11:36 -05:00
parent 2f32222914
commit ab9750f5ed
4 changed files with 45 additions and 51 deletions

5
lfs.h
View File

@@ -257,15 +257,10 @@ typedef struct lfs_dir {
typedef struct lfs_superblock {
struct lfs_disk_superblock {
uint8_t type;
uint8_t elen;
uint8_t alen;
uint8_t nlen;
lfs_block_t root[2];
uint32_t block_size;
uint32_t block_count;
uint32_t version;
char magic[8];
} d;
} lfs_superblock_t;