insert force unmount routine 50/15150/1
authorgiyeol.ok <giyeol.ok@samsung.com>
Thu, 23 May 2013 05:09:46 +0000 (14:09 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 13:37:25 +0000 (14:37 +0100)
it is related with PLM issues. and UI concept is not working at setting app yet.
so we support force umounting until setting is completed.

Change-Id: Ib7ec2c9bd641826c9321acf49781b0b9040327e4
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
src/mmc/mmc-handler.c

index d3026f8..cdbe35c 100644 (file)
@@ -566,7 +566,7 @@ static int ss_mmc_unmounted(int argc, char **argv)
                return -1;
        }
 
-       if (mmc_umount(UNMOUNT_NORMAL) != 0) {
+       if (mmc_umount(UNMOUNT_FORCE) != 0) {
                _E("Failed to unmount mmc card");
                vconf_set_int(VCONFKEY_SYSMAN_MMC_UNMOUNT,
                        VCONFKEY_SYSMAN_MMC_UNMOUNT_FAILED);