Bug#801712: Patch
Forgot to attach patch. losetup.sh.patch Description: Binary data
Bug#801712: Patch
Attached is a updated tested patch. The ext2fs_default_journal_size logic is stolen from lib/ext2fs/mkjournal.c, where the input and output is in blocks. Generally the default block size is 4096 (/etc/mke2fs.conf) so I just multiplied the numbers with 4096. I call ext2fs_default_journal_size t