jffs on non-mtd device (small bug)

Pavel Machek (pavel@suse.cz)
Fri, 25 May 2001 00:54:58 +0200


Hi!

BTW the printk probably should be KERN_ERR, because this "warning" is
fatal.

Pavel

inode-v23.c- if (MAJOR(dev) != MTD_BLOCK_MAJOR) {
inode-v23.c- printk(KERN_WARNING "JFFS: Trying to mount a "
inode-v23.c: "non-mtd device.\n");
inode-v23.c- return 0;
inode-v23.c- }

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
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/