diff options
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | 2011-12-13 22:29:12 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-12-13 22:29:12 -0500 |
commit | 5a0dc7365c240795bf190766eba7a27600be3b3e (patch) | |
tree | 614d5275640f4df89604f64e2cd47a438644226e /fs/file.c | |
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
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions