Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix mmap data corruption when blocksize < pagesize
commit d6320cb upstream. Use truncate_isize_extended() when hole is being created in a file so that ->page_mkwrite() will get called for the partial tail page if it is mmaped (see the first patch in the series for details). Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information