diff options
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | 2011-12-13 22:29:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-21 12:57:44 -0800 |
commit | 5da4b53abb4424f4b502a37425ffe4e46a7df5b5 (patch) | |
tree | ecf73db8f5d03b80b8c01fe02df468f990543372 /fs/fuse | |
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>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions