Commit Graph

12 Commits

Author SHA1 Message Date
Denis Kenzior bd8c7e92bb simfs: Fix the number of bytes copied
In block reading operations we read too much when the number of bytes to
read is smaller than the size of the file.
2010-10-13 05:04:47 -05:00
Denis Kenzior e755292874 simfs: Add some debug statements 2010-10-13 05:04:47 -05:00
Denis Kenzior 9ed8beba77 simfs: Move buffer back to the op structure
This was causing problems when multiple sim writes were being issued
(and thus bug #8265).
2010-10-13 05:04:46 -05:00
Denis Kenzior 38fad92882 simfs: Group lines logically 2010-10-13 05:04:46 -05:00
Denis Kenzior 096634e798 simfs: If buffer alloc fails, error out 2010-10-13 05:04:46 -05:00
Denis Kenzior f4c66f67df simfs: Don't try to read image cache imsi is null 2010-10-13 05:04:46 -05:00
Denis Kenzior 413c200dfb simfs: Make image cache logic a bit easier to read 2010-10-13 05:04:46 -05:00
Kristen Carlson Accardi 19fcae699c simfs: cache images 2010-10-13 05:04:46 -05:00
Denis Kenzior 1bdf68e133 simfs: Fix freeing a NULL queue 2010-09-22 22:39:29 -05:00
Denis Kenzior 997269a773 simfs: Add sim_fs_check_version
Used to blow away older simfs versions
2010-09-09 08:50:29 -05:00
Denis Kenzior fc1e3a7da4 simfs: Simplify logic 2010-09-09 08:50:28 -05:00
Denis Kenzior 5754eaf7e9 sim: Break out sim file reading into simfs 2010-09-09 08:50:28 -05:00