restore: deal with holes and set i_size correctly
commitff91b185f7ddad0f16fb0be4c6713d65daf1b03e
authorChris Mason <chris.mason@oracle.com>
Thu, 27 Oct 2011 20:25:12 +0000 (27 16:25 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 27 Oct 2011 20:25:12 +0000 (27 16:25 -0400)
tree466c0566f5f3e08fe1beddd21de8f43f7312cc64
parentba1aa28496cf2a2c7ffff0521c6c858a0505d4c2
restore: deal with holes and set i_size correctly

This changes restore to set the i_size of the files it
copies out based on the size in the inode.  It also changes
it to skip over holes.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Makefile
restore.c