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)
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

diff --cc fs/ext4/inode.c
Simple merge