commit | 5a0dc7365c240795bf190766eba7a27600be3b3e | [log] [tgz] |
---|---|---|
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | Tue Dec 13 22:29:12 2011 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Dec 13 22:29:12 2011 -0500 |
tree | 614d5275640f4df89604f64e2cd47a438644226e | |
parent | 5b5ffa49d4bbb8ca4c41c094261660264f16bd20 [diff] |
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