commit:     9d03ff956fd53710893f6f03582f110bef320b78
Author:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 09:12:43 2017 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 09:12:43 2017 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=9d03ff95

remove upstream patch

 ..._bcache-data-corruption-fix-for-bi-partno.patch | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git a/2100_bcache-data-corruption-fix-for-bi-partno.patch 
b/2100_bcache-data-corruption-fix-for-bi-partno.patch
deleted file mode 100644
index dd4aed6..0000000
--- a/2100_bcache-data-corruption-fix-for-bi-partno.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 62530ed8b1d07a45dec94d46e521c0c6c2d476e6 Mon Sep 17 00:00:00 2001
-From: Michael Lyle <[email protected]>
-Date: Thu, 16 Nov 2017 23:47:25 -0800
-Subject: bio: ensure __bio_clone_fast copies bi_partno
-
-A new field was introduced in 74d46992e0d9, bi_partno, instead of using
-bdev->bd_contains and encoding the partition information in the bi_bdev
-field.  __bio_clone_fast was changed to copy the disk information, but
-not the partition information.  At minimum, this regressed bcache and
-caused data corruption.
-
-Signed-off-by: Michael Lyle <[email protected]>
-Fixes: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and 
partitions index")
-Reported-by: Pavel Goran <[email protected]>
-Reported-by: Campbell Steven <[email protected]>
-Reviewed-by: Coly Li <[email protected]>
-Reviewed-by: Ming Lei <[email protected]>
-Cc: <[email protected]> # 4.14
-Signed-off-by: Jens Axboe <[email protected]>
----
- block/bio.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/block/bio.c b/block/bio.c
-index b94a802..459cc85 100644
---- a/block/bio.c
-+++ b/block/bio.c
-@@ -597,6 +597,7 @@ void __bio_clone_fast(struct bio *bio, struct bio *bio_src)
-        * so we don't set nor calculate new physical/hw segment counts here
-        */
-       bio->bi_disk = bio_src->bi_disk;
-+      bio->bi_partno = bio_src->bi_partno;
-       bio_set_flag(bio, BIO_CLONED);
-       bio->bi_opf = bio_src->bi_opf;
-       bio->bi_write_hint = bio_src->bi_write_hint;
--- 
-cgit v1.1
-

Reply via email to