diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-11-16 11:05:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-05 10:55:45 -0800 |
commit | 7cd10cb101e006e5beb4f3da3826727ed5ef85f8 (patch) | |
tree | 6d2fca6ac49ee11fa9f1013c2b8083e34c4bbeec /net/unix/sysctl_net_unix.c | |
parent | d52b8a887f6208065a8f91b1e56e3d240d69c06a (diff) |
ext4: Mark the buffer_heads as dirty and uptodate after prepare_write
(cherry picked from commit ed9b3e3379731e9f9d2f73f3d7fd9e7d2ce3df4a)
We need to make sure we mark the buffer_heads as dirty and uptodate
so that block_write_full_page write them correctly.
This fixes mmap corruptions that can occur in low memory situations.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions