diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-26 19:01:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-26 19:01:28 +0200 |
commit | 430e173af5d20ad68f6b5720e6d341b06c5b4858 (patch) | |
tree | 7767b6e75bc626d7083173884b9c1c21c1b7bbeb /mkfs | |
parent | fa66e0d92d1441ab95d720728f1fb54177d5edd5 (diff) |
Remove old data writer flags, and unused parameters
- The write_data_from_file function no longer needs the block size
- Also remove the old data writer flags, pass the flags argument
directly to the begin-file function.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r-- | mkfs/mkfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index 71e1863..0d50afd 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -73,8 +73,7 @@ static int pack_files(sqfs_data_writer_t *data, fstree_t *fs, fi->user_ptr = inode; - ret = write_data_from_file(data, inode, file, - fs->block_size, 0); + ret = write_data_from_file(data, inode, file, 0); file->destroy(file); if (ret) |