grub/grub-core
Andrei Borzenkov 951306c509 squash4: fix handling of fragments and sparse files
1. Do not assume block list and fragment are mutually exclusive. Squash
can pack file tail as fragment (unless -no-fragments is specified); so
check read offset and read either from block list or from fragments as
appropriate.

2. Support sparse files with zero blocks.

3. Fix fragment read - frag.offset is absolute fragment position,
not offset relative to ino.chunk.

Reported and tested by Carlo Caione <carlo@endlessm.com>
2017-02-24 19:10:43 +03:00
..
2016-01-22 14:10:30 +01:00
2015-01-27 17:17:58 +01:00
2016-01-12 21:52:50 +03:00
2015-02-26 22:10:09 +01:00
2017-02-03 13:01:34 +01:00
2017-02-07 13:25:38 +01:00
2016-12-14 14:13:34 +01:00
2017-01-31 19:29:31 +01:00
2017-02-12 09:23:34 +03:00
2017-01-31 18:49:37 +01:00
2017-02-03 20:17:48 +01:00
2013-04-27 02:00:16 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00