On Mon, 11 Jan 2010 15:38:10 -0500 Doug Ledford <dledford@xxxxxxxxxx> wrote: Applied, thanks. NeilBrown > Signed-off-by: Doug Ledford <dledford@xxxxxxxxxx> > --- > super-intel.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/super-intel.c b/super-intel.c > index d6951cc..fcf438c 100644 > --- a/super-intel.c > +++ b/super-intel.c > @@ -3208,7 +3208,10 @@ static int add_to_super_imsm(struct supertype *st, mdu_disk_info_t *dk, > dd->fd = fd; > dd->e = NULL; > rv = imsm_read_serial(fd, devname, dd->serial); > - if (rv) { > + if (rv && check_env("IMSM_DEVNAME_AS_SERIAL")) { > + memset(dd->serial, 0, MAX_RAID_SERIAL_LEN); > + fd2devname(fd, (char *) dd->serial); > + } else if (rv) { > fprintf(stderr, > Name ": failed to retrieve scsi serial, aborting\n"); > free(dd); -- 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