diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-23 15:26:02 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-23 15:38:48 +0100 |
commit | c2a093c9e9fb4889a11982797d75b8608c26da8f (patch) | |
tree | 613afb06c5eda3dba01c898ce073fcc81731eba2 /lib/common | |
parent | c924d87a4cbbeb93825f34f997add1ca4573a368 (diff) |
Turn file inode management completely over to the block processor
If the block processor allocates and dynamically resizes inodes on
the fly, we can add data indefinitely without knowing the size of
the file ahead of time.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/data_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/data_writer.c b/lib/common/data_writer.c index 0b4dc07..bc5a43b 100644 --- a/lib/common/data_writer.c +++ b/lib/common/data_writer.c @@ -9,7 +9,7 @@ static sqfs_u8 buffer[4096]; int write_data_from_file(const char *filename, sqfs_block_processor_t *data, - sqfs_inode_generic_t *inode, sqfs_file_t *file, + sqfs_inode_generic_t **inode, sqfs_file_t *file, int flags) { sqfs_u64 filesz, offset; |