int ret_val;
if (!buf) {
- _E("input param error"); //LCOV_EXCL_LINE
+ _E("input param error");
return STORAGE_ERROR_INVALID_PARAMETER;
}
snprintf(ext_path, sizeof(ext_path), "%s", path);
else {
if (!storage_ext_is_supported()) {
- _D("Block module is not enabled");
- return STORAGE_ERROR_NOT_SUPPORTED;
+ _D("Block module is not enabled"); //LCOV_EXCL_LINE
+ return STORAGE_ERROR_NOT_SUPPORTED; //LCOV_EXCL_LINE
}
ret_val = get_external_path(ext_path, sizeof(ext_path));
if (ret_val == -ENODEV)
snprintf(ext_path, sizeof(ext_path), "%s", path);
else {
if (!storage_ext_is_supported()) {
- _D("Block module is not enabled");
- return STORAGE_ERROR_NOT_SUPPORTED;
+ _D("Block module is not enabled"); //LCOV_EXCL_LINE
+ return STORAGE_ERROR_NOT_SUPPORTED; //LCOV_EXCL_LINE
}
ret_val = get_external_path(ext_path, sizeof(ext_path));
if (ret_val == -ENODEV)
goto out_nodev;
if (ret_val < 0) {
- _E("Failed to get external path(%d)", ret_val);
+ _E("Failed to get external path(%d)", ret_val); //LCOV_EXCL_LINE
return STORAGE_ERROR_OPERATION_FAILED; //LCOV_EXCL_LINE
}
}