shithub: lwext4

Download patch

ref: b96145cb6c6083cbd57c9575a6ea52969babcb73
parent: fad2d51c6c20323408b13f5ff95c3794ace78376
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun Jan 10 07:40:30 EST 2016

ext4_mkfs: fix mkfs function when journaling is enabled

--- a/lwext4/ext4_mkfs.c
+++ b/lwext4/ext4_mkfs.c
@@ -626,6 +626,8 @@
 	if (r != EOK)
 		return r;
 
+	bd->fs = fs;
+
 	if (info->len == 0)
 		info->len = bd->bdif->ph_bcnt * bd->bdif->ph_bsize;