Tyler, reduced it down to a one line fix. Tested with a 0.5GB, 2GB, 4GB, 8GB, 32GB test file with a sanity check on each byte. Patch attached below. Not yet tested with ecryptfs tests, but it looks like the root issue.
Tyler, reduced it down to a one line fix. Tested with a 0.5GB, 2GB, 4GB, 8GB, 32GB test file with a sanity check on each byte. Patch attached below. Not yet tested with ecryptfs tests, but it looks like the root issue.