UBIFS fails to mount on second boot

Iwo Mergler Iwo.Mergler at netcommwireless.com
Wed Jul 18 21:06:20 EDT 2012


On Wed, 18 Jul 2012 17:21:10 +1000
Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> You should have the fix in your mailbox, and for that fix I'd be
> greatful to have your "Tested-by:". 

Thanks, got it. Applied and tested - the bug seems to be
gone.

> From 5978233c1e065c3d01bd88f4bf3598cc293ea611 Mon Sep 17 00:00:00 2001
> From: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
> Date: Sat, 14 Jul 2012 14:33:09 +0300
> Subject: [PATCH] UBIFS: fix a bug in empty space fix-up
...
> 
> -	/* Fixup the current log head */
> -	err = fixup_leb(c, c->lhead_lnum, c->lhead_offs);
> +	/* Fixup the log head contains the only a CS node at the beginning */
> +	err = fixup_leb(c, c->lhead_lnum,
> +			ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size));
>  	if (err)

Tested-by: Iwo Mergler <Iwo.Mergler at netcommwireless.com>

Thanks again for your efforts.

Best regards,

Iwo

______________________________________________________________________
This communication contains information which may be confidential or privileged. The information is intended solely for the use of the individual or entity named above.  If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.  If you have received this communication in error, please notify me by telephone immediately.
______________________________________________________________________



More information about the linux-mtd mailing list