Skip to contentSkip to conversation

jffs on non-mtd device (small bug)

DISCUSSION Pavel Machek 2 participants 2 messages May 25, 2001

lore
Share & tools
lore
#0 lore raw

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- }

Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]
#1 lore raw
Quoted 2 lines · [email protected] said:

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

Surely it's only fatal if it's the root filesystem, and the panic() message on being unable to mount the root filesystem already has a higher loglevel?

--
dwmw2