diff options
author | 2012-07-03 12:20:00 -0400 | |
---|---|---|
committer | 2012-07-22 10:42:56 -0500 | |
commit | 6b7a03f03a2f8b1629133e35729eba4727fae3cc (patch) | |
tree | 4b91f307c89e0c064de577f232913d1fc916cdc8 /tools/perf/scripts/python/syscall-counts.py | |
parent | xfs: implement ->update_time (diff) | |
download | linux-dev-6b7a03f03a2f8b1629133e35729eba4727fae3cc.tar.xz linux-dev-6b7a03f03a2f8b1629133e35729eba4727fae3cc.zip |
xfs: handle EOF correctly in xfs_vm_writepage
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.
Based on the code in fs/buffer.c and the following ext4 commit:
ext4: handle EOF correctly in ext4_bio_write_page()
And yes, I wish we had a good test case for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions