]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ext4/inode.c
ext4: fix mmap data corruption in nodelalloc mode when blocksize < pagesize
authorXiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Fri, 13 Feb 2015 04:00:17 +0000 (23:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 13 Feb 2015 04:00:17 +0000 (23:00 -0500)
commit0572639ff66dcffe62d37adfe4c4576f9fc398f4
tree98f88d5b347443c41a419576bfe5d79d2a08ba1d
parent2cb5cc8b09c939c77826635956c35995b15c9331
ext4: fix mmap data corruption in nodelalloc mode when blocksize < pagesize

Since commit 90a8020 and d6320cb, Jan Kara has fixed this issue partially.
This mmap data corruption still exists in nodelalloc mode, fix this.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/inode.c