Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'md/4.3-rc4-fix' of git://neil.brown.name/md

Pull md bugfix from Neil Brown:
"One bug fix for raid1/raid10.

Very careless bug earler in 4.3-rc, now fixed :-)"

* tag 'md/4.3-rc4-fix' of git://neil.brown.name/md:
crash in md-raid1 and md-raid10 due to incorrect list manipulation

+4 -4
+2 -2
drivers/md/raid1.c
··· 2382 2382 } 2383 2383 spin_unlock_irqrestore(&conf->device_lock, flags); 2384 2384 while (!list_empty(&tmp)) { 2385 - r1_bio = list_first_entry(&conf->bio_end_io_list, 2386 - struct r1bio, retry_list); 2385 + r1_bio = list_first_entry(&tmp, struct r1bio, 2386 + retry_list); 2387 2387 list_del(&r1_bio->retry_list); 2388 2388 raid_end_bio_io(r1_bio); 2389 2389 }
+2 -2
drivers/md/raid10.c
··· 2688 2688 } 2689 2689 spin_unlock_irqrestore(&conf->device_lock, flags); 2690 2690 while (!list_empty(&tmp)) { 2691 - r10_bio = list_first_entry(&conf->bio_end_io_list, 2692 - struct r10bio, retry_list); 2691 + r10_bio = list_first_entry(&tmp, struct r10bio, 2692 + retry_list); 2693 2693 list_del(&r10_bio->retry_list); 2694 2694 raid_end_bio_io(r10_bio); 2695 2695 }