From: Patrice Chotard Date: Fri, 27 Apr 2018 13:51:23 +0000 (+0200) Subject: ubifs: avoid assert failed in ubifs.c X-Git-Tag: v2018.07-rc1~178^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87deefeccc49756ee33b5c0fb6dbe331dfdff487;hp=87deefeccc49756ee33b5c0fb6dbe331dfdff487;p=u-boot ubifs: avoid assert failed in ubifs.c This patch solves assert failed displayed in the console during a boot. The root cause is that the ubifs_inode is not already allocated when ubifs_printdir and ubifs_finddir functions are called. Trace showing the issue: feed 'boot.scr.uimg', ino 94, new f_pos 0x17b40ece dent->ch.sqnum '7132', creat_sqnum 3886945402880 UBIFS assert failed in ubifs_finddir at 436 INODE ALLOCATION: creat_sqnum '7129' Found U-Boot script /boot.scr.uimg Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard ---