Skip to content

Commit

Permalink
update terms
Browse files Browse the repository at this point in the history
  • Loading branch information
salsal97 committed Jan 16, 2024
1 parent 4c833c6 commit b66934a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext2/ext2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,7 @@ static int _ftruncate(ext2_t* ext2, myst_file_t* file, off_t length, bool isdir)
}
else if (length > file_size)
{
/* make file larger (with a blank space) */
/* make file larger (with a file hole) */
_inode_set_size(&file->shared->inode, length);
_update_timestamps(&file->shared->inode, CHANGE | MODIFY);
ECHECK(_write_inode(ext2, file->shared->ino, &file->shared->inode));
Expand Down
2 changes: 1 addition & 1 deletion tests/ext2/plain/ext2.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ int main(int argc, const char* argv[])
assert(ext2_unlink(fs, path) == 0);
}

/* create a file with black space in it */
/* create a file with a file hole in it */
{
myst_file_t* file;
const char path[] = "/holes";
Expand Down

0 comments on commit b66934a

Please sign in to comment.