- ret = ms_user_get_storage_type(_content_get_uid(), dir_path, &storage_type);
- if (ret != MS_MEDIA_ERR_NONE) {
- content_error("ms_user_get_storage_type failed : %d", ret);
- return false;
+ if (!ms_user_is_valid_path(_content_get_uid(), dir_path)) {
+ content_error("ms_user_is_valid_path failed : %d", ret);
+ return true;