commit | 5da4b53abb4424f4b502a37425ffe4e46a7df5b5 | [log] [tgz] |
---|---|---|
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | Tue Dec 13 22:29:12 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Dec 21 12:57:44 2011 -0800 |
tree | ecf73db8f5d03b80b8c01fe02df468f990543372 | |
parent | 8fe5e8ff93473129957c6d4a7df80046186b9c7b [diff] |
ext4: handle EOF correctly in ext4_bio_write_page() commit 5a0dc7365c240795bf190766eba7a27600be3b3e upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>