ext2: handle sparse files correctly #38
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When there is a full block of zeroes in a file, Linux chooses to point the block at
#0
instead of actually allocating and writing an all-zeroes block, which is quite smart, but breaks with my ext2 driver. Fix that by assuming that if there's a block pointing to#0
and it's within the valid range of an inode, it's read as all zeroes. Handle writes appropriately as well