summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-26 19:01:28 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-26 19:01:28 +0200
commit430e173af5d20ad68f6b5720e6d341b06c5b4858 (patch)
tree7767b6e75bc626d7083173884b9c1c21c1b7bbeb /mkfs
parentfa66e0d92d1441ab95d720728f1fb54177d5edd5 (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.c3
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)