diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-04-10 22:30:07 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-04-10 22:30:07 -0400 |
commit | c8205636029fc869278c55b7336053b3e7ae3ef4 (patch) | |
tree | c22b4f2fab37d14d4b81ad5683110075afdc35ea /fs | |
parent | f80da1e70f1ffec3825aa0a1d0801f4896e002b6 (diff) | |
download | linux-stable-c8205636029fc869278c55b7336053b3e7ae3ef4.tar.gz linux-stable-c8205636029fc869278c55b7336053b3e7ae3ef4.tar.bz2 linux-stable-c8205636029fc869278c55b7336053b3e7ae3ef4.zip |
ext4: fix data corruption regression by reverting commit 6de9843dab3f
Revert commit 6de9843dab3f2a1d4d66d80aa9e5782f80977d20, since it
caused a data corruption regression with BitTorrent downloads. Thanks
to Damien for discovering and bisecting to find the problem commit.
https://bugzilla.kernel.org/show_bug.cgi?id=32972
Reported-by: Damien Grassart <damien@grassart.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 5560f78690ac..9c8cf811d93a 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2502,6 +2502,7 @@ static int ext4_da_get_block_prep(struct inode *inode, sector_t iblock, * for partial write. */ set_buffer_new(bh); + set_buffer_mapped(bh); } return 0; } |