patch-1.3.18 linux/drivers/block/ramdisk.c

Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/block/mcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/block/ramdisk.c linux/drivers/block/ramdisk.c
@@ -148,9 +148,7 @@
 		}
 
 		/* Try ext2 */
-		if (nblocks == -1 && (ext2sb->s_magic ==
-			EXT2_PRE_02B_MAGIC ||
-			ext2sb->s_magic == EXT2_SUPER_MAGIC))
+		if (nblocks == -1 && ext2sb->s_magic == EXT2_SUPER_MAGIC)
 	        {
 			printk("RAMDISK: Ext2 filesystem found at block %d\n",
 				block);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this