storaged has block.conf from tizen 4.0 61/148261/2 accepted/tizen/4.0/unified/20170908.221759 submit/tizen_4.0/20170907.082856 tizen_4.0.IoT.p1_release
authorpr.jung <pr.jung@samsung.com>
Thu, 7 Sep 2017 08:03:05 +0000 (17:03 +0900)
committerpr.jung <pr.jung@samsung.com>
Thu, 7 Sep 2017 08:26:20 +0000 (17:26 +0900)
Change-Id: Ia633479c3cf86ac52b28342e248ce77fe5f5906f
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/storage.c

index e644aec..cd3e29a 100644 (file)
@@ -27,7 +27,7 @@
 #include "log.h"
 #include "storage-external.h"
 
-#define BLOCK_CONF_FILE         "/etc/deviced/block.conf"
+#define BLOCK_CONF_FILE         "/etc/storaged/block.conf"
 const char *dir_path[STORAGE_DIRECTORY_MAX];
 
 const int tz_id[STORAGE_DIRECTORY_MAX] = {
@@ -518,7 +518,7 @@ API int storage_set_changed_cb(storage_type_e type, storage_changed_cb callback,
                return STORAGE_ERROR_INVALID_PARAMETER;
        }
 
-       if(!storage_ext_is_supported()) {
+       if (!storage_ext_is_supported()) {
                _E("Block module is not enabled");
                return STORAGE_ERROR_NOT_SUPPORTED;
        }
@@ -557,7 +557,7 @@ API int storage_unset_changed_cb(storage_type_e type, storage_changed_cb callbac
                return STORAGE_ERROR_INVALID_PARAMETER;
        }
 
-       if(!storage_ext_is_supported()) {
+       if (!storage_ext_is_supported()) {
                _E("Block module is not enabled");
                return STORAGE_ERROR_NOT_SUPPORTED;
        }