Patch for fs/partitions/sun.c

From: Pete Zaitcev (zaitcev@redhat.com)
Date: Mon Jan 27 2003 - 00:30:11 EST


Boots with recent 2.5 greet me with this on the console:

[/sbin/fsck.ext2] fsck.ext2 -a /dev/sda6
fsck.ext2: Device not configured while trying to open /dev/sda6

This happens because I have root on /dev/sda4 and /home on /dev/sda6.
Dave, can you take it or should I send it to Trivial?

-- Pete

diff -urN -X dontdiff linux-2.5.59/fs/partitions/sun.c linux-2.5.59-sparc/fs/partitions/sun.c
--- linux-2.5.59/fs/partitions/sun.c 2003-01-13 21:59:16.000000000 -0800
+++ linux-2.5.59-sparc/fs/partitions/sun.c 2003-01-26 15:54:03.000000000 -0800
@@ -80,8 +80,8 @@
                         put_partition(state, slot, st_sector, num_sectors);
                         if (label->infos[i].id == LINUX_RAID_PARTITION)
                                 state->parts[slot].flags = 1;
- slot++;
                 }
+ slot++;
         }
         printk("\n");
         put_dev_sector(sect);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:16 EST