Change-Id: I54f562eac2f1639f2e377994af1f4a9c8a26b47e
Signed-off-by: pr.jung <pr.jung@samsung.com>
&info->readonly, &info->mount_point,
&info->state, &info->primary,
&info->flags, &info->storage_id);
&info->readonly, &info->mount_point,
&info->state, &info->primary,
&info->flags, &info->storage_id);
+ } else {
+ _E("No storage with the storage id (%d)", storage_id); //LCOV_EXCL_LINE
_E("Failed to get storage type: %d", ret);
return ret;
}
_E("Failed to get storage type: %d", ret);
return ret;
}
+ if (*type == STORAGE_TYPE_INTERNAL)
+ return STORAGE_ERROR_NONE;
ext_dev = calloc(1, sizeof(storage_ext_device));
if (!ext_dev) {
ext_dev = calloc(1, sizeof(storage_ext_device));
if (!ext_dev) {