Dmitry Monakhov
eea6b49210
copy: fix copying of extents beyond the apparent file size
...
fallocate can allocate extents beyond EOF via FALLOC_FL_KEEP_SIZE.
Where there is a gap (hole) between the extents, and EOF is within
that gap, the final hole wasn't reproduced, resulting in silent
data corruption in the copied file (size too small).
* src/copy.c (extent_copy): Ensure we don't process extents
beyond the apparent file size, since processing and allocating
those is not currently supported.
* tests/cp/fiemap-extents.sh: Renamed from tests/cp/fiemap-empty.sh
and re-enable parts checking the extents at and beyond EOF.
* tests/local.mk: Reference the renamed test.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/21790
2015-11-24 00:49:03 +00:00
..
2015-09-03 00:33:19 +01:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-24 00:49:03 +00:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2008-11-20 10:21:52 +01:00
2015-11-04 23:30:14 +00:00
2015-11-12 15:17:55 -05:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-10-16 12:23:30 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-10-27 17:24:54 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-10-27 17:25:12 +00:00
2005-07-18 07:52:37 +00:00
2015-01-31 17:39:04 +01:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-10-27 17:24:54 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-10-27 17:24:54 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-10-27 17:24:54 +00:00
2003-07-06 06:08:40 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-19 00:25:46 +00:00
2015-01-01 04:52:17 +00:00
2015-04-22 11:11:26 +01:00
2015-11-04 23:30:15 +00:00
2012-01-09 21:51:59 +01:00
2015-06-25 02:46:07 +01:00
2015-11-23 18:06:38 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-10-27 17:24:54 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-09-22 02:30:30 +01:00
2015-11-04 23:30:14 +00:00
2015-10-27 17:24:54 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:15 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:15 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-10-19 10:25:14 +01:00
2015-10-27 17:24:54 +00:00
2015-09-12 02:27:32 +00:00
2015-10-19 10:25:14 +01:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-11 14:47:15 +00:00
2015-06-29 14:18:59 -07:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:15 +00:00
2015-05-13 13:48:56 +01:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2015-07-22 01:55:14 +01:00
2012-01-09 21:51:59 +01:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-11-04 23:30:14 +00:00
2015-01-01 04:52:17 +00:00
2015-04-28 23:07:13 +01:00