https://github.com/torvalds/linux
Revision 093e6e3666f47d29763a235b404c84ee47ba8bb0 authored by Yongqiang Yang on 14 December 2011, 03:05:05 UTC, committed by Theodore Ts'o on 14 December 2011, 03:05:05 UTC
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
1 parent 13a79a4
History
Tip revision: 093e6e3666f47d29763a235b404c84ee47ba8bb0 authored by Yongqiang Yang on 14 December 2011, 03:05:05 UTC
ext4: correctly handle pages w/o buffers in ext4_discard_partial_buffers()
Tip revision: 093e6e3
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 201.4 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top