summaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-12-14 04:05:05 +0100
committerTheodore Ts'o <tytso@mit.edu>2011-12-14 04:05:05 +0100
commit093e6e3666f47d29763a235b404c84ee47ba8bb0 (patch)
treea337f1415bf1c98b63fa5536c42b97059309b8d1 /fs/ext4/extents.c
parentext4: avoid potential hang in mpage_submit_io() when blocksize < pagesize (diff)
downloadlinux-093e6e3666f47d29763a235b404c84ee47ba8bb0.tar.xz
linux-093e6e3666f47d29763a235b404c84ee47ba8bb0.zip
ext4: correctly handle pages w/o buffers in ext4_discard_partial_buffers()
If a page has been read into memory and never been written, it has no buffers, but we should handle the page in truncate or punch hole. VFS code of writing operations has handled holes correctly, so this patch removes the code handling holes in writing operations. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions