Skip to contentSkip to conversation

Patch for fs/partitions/sun.c

PATCH Applied Pete Zaitcev 2 participants 2 messages Jan 27, 2003

lore
Share & tools
lore
#0 lore raw

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

fs/partitions/sun.c +1 -1
diff -urN -X dontdiff linux-2.5.59/fs/partitions/sun.c linux-2.5.59-sparc/fs/partitions/sun.c
@@ -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);
#1 lore raw

From: Pete Zaitcev <[email protected]>
Date: Mon, 27 Jan 2003 00:30:11 -0500

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?

Yes, Viro added this bug in one of his cleanups. And I just continued the bug when I patched in the RAID auto-detect support.

Applied, thanks.