Don't skip parts of a file when calling fiemap
A mis-incremented offset in the fiemap-processing code meant that non-sparse portions of files were missed.
This commit is contained in:
@@ -78,6 +78,10 @@ class Environment
|
||||
end
|
||||
|
||||
|
||||
def write1( data )
|
||||
@nbd1.write( 0, data )
|
||||
end
|
||||
|
||||
def writefile1(data)
|
||||
@file1 = FileWriter.new(@filename1, @blocksize).write(data)
|
||||
end
|
||||
|
Reference in New Issue
Block a user