fiemap copy: don't let write failure go unreported; adjust style, etc.
authorJim Meyering <meyering@redhat.com>
Mon, 11 Oct 2010 08:39:50 +0000 (10:39 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Jan 2011 19:44:11 +0000 (20:44 +0100)
commit0b9f65dc017fa66a47c19f63f49bd013fac0d29c
tree1320b3aa20c541aa0484eb9b0b266d1e4b0736af
parent2db1433eabc847d9ad43e059764222e9b33233aa
fiemap copy: don't let write failure go unreported; adjust style, etc.

* src/copy.c (write_zeros): Add comments.
(extent_copy): Move decls of "ok" and "i" down to scope where used.
Adjust comments.
Rename local: s/holes_len/hole_size/
Print a diagnostic upon failure to write zeros.
src/copy.c