Re: Curious code in autostart_array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux