UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition change
authorStefan Roese <sr@denx.de>
Mon, 1 Nov 2010 16:28:22 +0000 (17:28 +0100)
committerStefan Roese <sr@denx.de>
Fri, 3 Dec 2010 17:24:04 +0000 (18:24 +0100)
commit2f15cfd187f1cf7a0606a1ec3e637954311a735a
treeb60cf597e60ddd1e01035a137c01a442807a13c3
parentb1a14f8a1c2e72d5c58269d0200f722d8eec19c4
UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition change

Automatically unmount UBIFS partition when user changes the UBI device.
Otherwise the following UBIFS commands will crash.

Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_ubi.c
common/cmd_ubifs.c