]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md/raid6: Fix misapplied backport in 2.6.32.64
authorBen Hutchings <ben@decadent.org.uk>
Sun, 7 Dec 2014 20:00:27 +0000 (20:00 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Dec 2014 14:16:18 +0000 (15:16 +0100)
commitd49465185ef41bea43666e349b72b6d1e1fbd296
treeee5004b032b2433e383a99959d36b8570921853f
parent7185a7199b3e6540e72c718db0ad1a91676e37d0
md/raid6: Fix misapplied backport in 2.6.32.64

Upstream commit 9c4bdf697c39 ("md/raid6: avoid data corruption during
recovery of double-degraded RAID6") changes handle_stripe(), but we
have separate functions for RAID5 and RAID6 and need to apply the
change to handle_stripe6().  When cherry-picked, the change was
wrongly applied to handle_stripe5().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/md/raid5.c