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 'for-4.16/dm-chained-bios-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

Pull device mapper fix from Mike Snitzer:
"Fix for DM core to properly propagate errors (avoids overriding
non-zero error with 0). This is particularly important given DM core's
increased use of chained bios"

* tag 'for-4.16/dm-chained-bios-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
dm: correctly handle chained bios in dec_pending()

+2 -1
+2 -1
drivers/md/dm.c
··· 903 903 queue_io(md, bio); 904 904 } else { 905 905 /* done with normal IO or empty flush */ 906 - bio->bi_status = io_error; 906 + if (io_error) 907 + bio->bi_status = io_error; 907 908 bio_endio(bio); 908 909 } 909 910 }