case RESOURCE_IN_WIM:
if (read_partial_wim_stream_into_buf(fd->f_lte, size,
offset, buf))
- ret = -errno;
+ ret = errno ? -errno : -EIO;
else
ret = size;
break;
return ret;
}
- if (wim->hdr.wim_version == WIM_VERSION_STREAM_CONCAT) {
- WARNING("WIM contains streams not compressed independently; "
- "access may be slow.");
- }
-
ret = select_wim_image(wim, image);
if (ret)
return ret;