From dd58194527115da247d6c76ba505cbc647334445 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 23 May 2019 11:40:29 +0200 Subject: [PATCH] drop md patch from 4.19 queue that was not applying --- ...nness-conversion-in-check_sb_changes.patch | 32 ------------------- queue-4.19/series | 1 - 2 files changed, 33 deletions(-) delete mode 100644 queue-4.19/md-add-a-missing-endianness-conversion-in-check_sb_changes.patch diff --git a/queue-4.19/md-add-a-missing-endianness-conversion-in-check_sb_changes.patch b/queue-4.19/md-add-a-missing-endianness-conversion-in-check_sb_changes.patch deleted file mode 100644 index a1bdecbafda..00000000000 --- a/queue-4.19/md-add-a-missing-endianness-conversion-in-check_sb_changes.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ed4d0a4ea11e19863952ac6a7cea3bbb27ccd452 Mon Sep 17 00:00:00 2001 -From: Christoph Hellwig -Date: Thu, 4 Apr 2019 18:56:10 +0200 -Subject: md: add a missing endianness conversion in check_sb_changes - -From: Christoph Hellwig - -commit ed4d0a4ea11e19863952ac6a7cea3bbb27ccd452 upstream. - -The on-disk value is little endian and we need to convert it to -native endian before storing the value in the in-core structure. - -Fixes: 7564beda19b36 ("md-cluster/raid10: support add disk under grow mode") -Cc: # 4.20+ -Acked-by: Guoqing Jiang -Signed-off-by: Christoph Hellwig -Signed-off-by: Song Liu -Signed-off-by: Greg Kroah-Hartman - -diff --git a/drivers/md/md.c b/drivers/md/md.c -index 664b77ceaf2d..a15eb7e37c6d 100644 ---- a/drivers/md/md.c -+++ b/drivers/md/md.c -@@ -9227,7 +9227,7 @@ static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev) - * reshape is happening in the remote node, we need to - * update reshape_position and call start_reshape. - */ -- mddev->reshape_position = sb->reshape_position; -+ mddev->reshape_position = le64_to_cpu(sb->reshape_position); - if (mddev->pers->update_reshape_pos) - mddev->pers->update_reshape_pos(mddev); - if (mddev->pers->start_reshape) diff --git a/queue-4.19/series b/queue-4.19/series index b6a730b44b6..f3637051581 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -48,4 +48,3 @@ fuse-honor-rlimit_fsize-in-fuse_file_fallocate.patch ovl-fix-missing-upper-fs-freeze-protection-on-copy-up-for-ioctl.patch iommu-tegra-smmu-fix-invalid-asid-bits-on-tegra30-114.patch ceph-flush-dirty-inodes-before-proceeding-with-remount.patch -md-add-a-missing-endianness-conversion-in-check_sb_changes.patch -- 2.47.2