From 430e173af5d20ad68f6b5720e6d341b06c5b4858 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 26 Sep 2019 19:01:28 +0200 Subject: 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 --- mkfs/mkfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mkfs') 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) -- cgit v1.2.3