Added lfs_file_truncate

As a copy-on-write filesystem, the truncate function is a very nice
function to have, as it can take advantage of reusing the data already
written out to disk.
This commit is contained in:
Christopher Haster
2018-01-20 17:30:40 -06:00
parent 2ad435ed63
commit d88f0ac02f
4 changed files with 195 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ size: $(OBJ)
$(SIZE) -t $^
.SUFFIXES:
test: test_format test_dirs test_files test_seek test_parallel \
test: test_format test_dirs test_files test_seek test_truncate test_parallel \
test_alloc test_paths test_orphan test_move test_corrupt
test_%: tests/test_%.sh
ifdef QUIET