On Thu, Oct 28, 2010 at 8:09 AM, Stefan Roese <s...@denx.de> wrote:
> Only allow (re-)assignment to an UBI partition/device when UBIFS is
> currently not mounted. Otherwise the following UBIFS commands will
> crash.
>
> Signed-off-by: Stefan Roese <s...@denx.de>

Applies to 908614f20f7f0f5df736eed21b88e81ebbf14e86 of
git://git.denx.de/u-boot.git.

One checkpatch warning:

WARNING: externs should be avoided in .c files
#89: FILE: common/cmd_ubi.c:45:
+int ubifs_is_mounted(void);

total: 0 errors, 1 warnings, 36 lines checked

Tested on da850evm with NAND, env.oob enabled. 'ubi part' failed while
a ubifs was mounted.

Tested-by: Ben Gardiner <bengardi...@nanometrics.ca>

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to