fix mount fail error during update 47/17747/3
authorjunsuk77.oh <junsuk77.oh@samsung.com>
Wed, 6 Nov 2013 11:21:01 +0000 (20:21 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Wed, 12 Mar 2014 01:01:09 +0000 (10:01 +0900)
Change-Id: Ib3d1b1201f716998f1a679192bb3cf54525d76d1

packaging/app2sd.spec
plugin/app2sd/src/app2sd_internals.c

index bab6bcd..f139eaa 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       app2sd
 Summary:    Application installation on external memory
-Version:    0.5.26
+Version:    0.5.27
 Release:    1
 Group:      Application Framework/Application Installer
 License:    Apache-2.0
index 05b5af0..fe21eea 100755 (executable)
@@ -1355,7 +1355,7 @@ int _app2sd_update_loopback_device_size(const char *pkgid,
                if (ret) {
                        app2ext_print("App2Sd Error : Re-mount failed\n");
                        err_res = APP2EXT_ERROR_MOUNT_PATH;
-                       goto FINISH_OFF;
+//                     goto FINISH_OFF;
                }
        } else {
                /*Do  re-mounting */
@@ -1366,7 +1366,7 @@ int _app2sd_update_loopback_device_size(const char *pkgid,
                if (ret) {
                        app2ext_print("App2Sd Error : Re-mount failed\n");
                        err_res = APP2EXT_ERROR_MOUNT_PATH;
-                       goto FINISH_OFF;
+//                     goto FINISH_OFF;
                }
        }
 
@@ -1379,7 +1379,7 @@ int _app2sd_update_loopback_device_size(const char *pkgid,
        if (ret) {
                app2ext_print("App2Sd Error : copy ro content  failed\n");
                err_res = ret;
-               goto FINISH_OFF;
+//             goto FINISH_OFF;
        }
 
        ret = _app2sd_unmount_app_content(pkgid);
@@ -1387,13 +1387,13 @@ int _app2sd_update_loopback_device_size(const char *pkgid,
                app2ext_print
                    ("App2SD Error: Unable to unmount the SD application\n");
                err_res = APP2EXT_ERROR_UNMOUNT;
-               goto FINISH_OFF;
+//             goto FINISH_OFF;
        }
        ret = _app2sd_remove_loopback_encryption_setup(pkgid);
        if (ret) {
                app2ext_print("App2SD Error: Unable to remove loopback setup\n");
                err_res = APP2EXT_ERROR_DELETE_LOOPBACK_DEVICE;
-               goto FINISH_OFF;
+//             goto FINISH_OFF;
        }
        ret = _app2sd_unmount_app_content(temp_pkgid);
        if (ret) {