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/namei.c | |
parent | 5b5ffa49d4bbb8ca4c41c094261660264f16bd20 (diff) | |
download | op-kernel-dev-5a0dc7365c240795bf190766eba7a27600be3b3e.zip op-kernel-dev-5a0dc7365c240795bf190766eba7a27600be3b3e.tar.gz |
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/namei.c')
0 files changed, 0 insertions, 0 deletions