]> git.ipfire.org Git - people/arne_f/kernel.git/commit
dm crypt: Fix data corruption with dm-crypt over RAID5
authorChristophe Saout <christophe@saout.de>
Fri, 15 Dec 2006 00:21:59 +0000 (01:21 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 15 Dec 2006 00:21:59 +0000 (01:21 +0100)
commita26b7719f9bde7e74385bfa6ca3ea89d365efd77
treeeb8afe6bf18c9c3307319b0fb0763399d6d9c976
parentbbb978312500b3534a1515ca168597754647d96e
dm crypt: Fix data corruption with dm-crypt over RAID5

Fix corruption issue with dm-crypt on top of software raid5. Cancelled
readahead bio's that report no error, just have BIO_UPTODATE cleared
were reported as successful reads to the higher layers (and leaving
random content in the buffer cache). Already fixed in 2.6.19.

Signed-off-by: Christophe Saout <christophe@saout.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/md/dm-crypt.c