This commit is contained in:
Jeremy Soller
2017-08-01 18:26:58 -06:00
parent e95be4caf3
commit 1e9cec6092
+1 -1
View File
@@ -333,7 +333,7 @@ impl FileSystem {
for mut extent in node.1.extents.iter_mut() {
if extent.length > length {
let start = (length + 511)/512;
let end = (extent.length + 511)/512
let end = (extent.length + 511)/512;
if end > start {
self.deallocate(extent.block + start, (end - start) * 512)?;
}