From: Jan Kara Date: Thu, 2 Oct 2014 01:49:46 +0000 (-0400) Subject: ext4: fix mmap data corruption when blocksize < pagesize X-Git-Tag: fixes-against-v3.18-rc2~28^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6320cbfc92910a3e5f10c42d98c231c98db4f60;p=pandora-kernel.git ext4: fix mmap data corruption when blocksize < pagesize 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 Signed-off-by: Theodore Ts'o Cc: stable@vger.kernel.org --- Reading git-diff-tree failed