diff options
author | 2011-12-13 22:29:12 -0500 | |
---|---|---|
committer | 2011-12-13 22:29:12 -0500 | |
commit | 5a0dc7365c240795bf190766eba7a27600be3b3e (patch) | |
tree | 614d5275640f4df89604f64e2cd47a438644226e /fs/proc/array.c | |
parent | ext4: remove a wrong BUG_ON in ext4_ext_convert_to_initialized (diff) | |
download | linux-dev-5a0dc7365c240795bf190766eba7a27600be3b3e.tar.xz linux-dev-5a0dc7365c240795bf190766eba7a27600be3b3e.zip |
ext4: handle EOF correctly in ext4_bio_write_page()
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
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions