projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80da1e
)
ext4: fix data corruption regression by reverting commit 6de9843dab3f
author
Theodore Ts'o
<
[email protected]
>
Mon, 11 Apr 2011 02:30:07 +0000
(22:30 -0400)
committer
Theodore Ts'o
<
[email protected]
>
Mon, 11 Apr 2011 02:30:07 +0000
(22:30 -0400)
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 <
[email protected]
>
Signed-off-by: "Theodore Ts'o" <
[email protected]
>
fs/ext4/inode.c
patch
|
blob
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index 5560f78690ac4c9357de227710f3f01b42322797..9c8cf811d93afc65e9e3aeb983c3f3f602d18830 100644
(file)
--- 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;
}