
29 Oct
2010
29 Oct
'10
4:01 p.m.
On Thu, Oct 28, 2010 at 8:09 AM, Stefan Roese sr@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 sr@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 bengardiner@nanometrics.ca
Best Regards, Ben Gardiner
--- Nanometrics Inc. http://www.nanometrics.ca