diff options
author | Allison Henderson <achender@linux.vnet.ibm.com> | 2011-09-07 05:53:01 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-07 05:53:01 +0400 |
commit | 02fac1297eb3f471a27368271aadd285548297b0 (patch) | |
tree | d0008f0aa889dba759cb780e8e805b30953083cf /fs/squashfs/xattr_id.c | |
parent | 189e868fa8fdca702eb9db9d8afc46b5cb9144c9 (diff) | |
download | linux-02fac1297eb3f471a27368271aadd285548297b0.tar.xz |
ext4: fix partial page writes
While running extended fsx tests to verify the preceeding patches,
a similar bug was also found in the write operation
When ever a write operation begins or ends in a hole,
or extends EOF, the partial page contained in the hole
or beyond EOF needs to be zeroed out.
To correct this the new ext4_discard_partial_page_buffers_no_lock
routine is used to zero out the partial page, but only for buffer
heads that are already unmapped.
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/squashfs/xattr_id.c')
0 files changed, 0 insertions, 0 deletions