]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: call extent_copy also when make_holes is false, ...
authorJim Meyering <meyering@redhat.com>
Sat, 22 Jan 2011 11:36:03 +0000 (12:36 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 22 Jan 2011 11:36:03 +0000 (12:36 +0100)
commit237c2325b3d11e1b1a576978b884df3423a075b1
tree9f58fffdfb70d1d3e5b76a23d8538326378bc8ad
parentf880d4e43c47fa0b08757d911e00c69de07296ab
copy: call extent_copy also when make_holes is false, ...

so that we benefit from using extents also when reading a sparse
input file with --sparse=never.
* src/copy.c (copy_reg): Remove erroneous test of "make_holes"
so that we call extent_copy also when make_holes is false.
Otherwise, what's the point of that parameter?
src/copy.c