summaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-10-28 14:09:22 +0200
committerStefan Roese <sr@denx.de>2010-12-03 16:32:09 +0100
commitcb9c09d4871015be5710c7bae29b06218ddc3509 (patch)
treea29fdf9973a9e0da2b0dc09c256335de66aab447 /fs/ubifs/super.c
parent49733aa0b9d29803384ad4bce74985f4bbe7e9aa (diff)
downloadu-boot-imx-cb9c09d4871015be5710c7bae29b06218ddc3509.zip
u-boot-imx-cb9c09d4871015be5710c7bae29b06218ddc3509.tar.gz
u-boot-imx-cb9c09d4871015be5710c7bae29b06218ddc3509.tar.bz2
UBIFS: Add ubifsumount command to unmount an active volume
This new ubifsumount command allows the user to unmount a previously mounted UBIFS volume. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 39e3efe..63b2164 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -824,7 +824,7 @@ out_free:
* through mounting (error path cleanup function). So it has to make sure the
* resource was actually allocated before freeing it.
*/
-static void ubifs_umount(struct ubifs_info *c)
+void ubifs_umount(struct ubifs_info *c)
{
dbg_gen("un-mounting UBI device %d, volume %d", c->vi.ubi_num,
c->vi.vol_id);