https://github.com/torvalds/linux
Revision 5a0dc7365c240795bf190766eba7a27600be3b3e authored by Yongqiang Yang on 14 December 2011, 03:29:12 UTC, committed by Theodore Ts'o on 14 December 2011, 03:29:12 UTC
We need to zero out part of a page which beyond EOF before setting uptodate,
otherwise, mapread or write will see non-zero data beyond EOF.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
1 parent 5b5ffa4
History
Tip revision: 5a0dc7365c240795bf190766eba7a27600be3b3e authored by Yongqiang Yang on 14 December 2011, 03:29:12 UTC
ext4: handle EOF correctly in ext4_bio_write_page()
Tip revision: 5a0dc73
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 201.4 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top