[PATCH] RAID5 NULL Checking Bug Fix

2001-05-15 Thread Neil Brown
On Wednesday May 16, [EMAIL PROTECTED] wrote: (more patches to come. They will go to Linus, Alan, and linux-raid only). This is the next one, which actually addresses the NULL Checking Bug. There are two places in the the raid code which allocate memory without (properly) checking for

[PATCH] - md_error gets simpler

2001-05-15 Thread Neil Brown
Linus, This isn't a bug fix, just a tidy up. Current, md_error - which is called when an underlying device detects an error - takes a kdev_t to identify which md array is affected. It converts this into a mddev_t structure pointer, and in every case, the caller already has the desired