On Fri, 23 Jun 2006 14:46:13 +1000, Neil Brown <neilb@xxxxxxx> wrote: > > dev_t dev = MKDEV(desc->major, desc->minor); > > if (MAJOR(dev) != desc->major || MINOR(dev) != desc->minor) > > continue; > desc->major and desc->minor have been > read of the disk, so their values cannot be trusted. Oh, right. Sorry. -- Pete - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html