--- zzzz-none-000/linux-2.4.17/fs/fat/misc.c 2001-10-12 20:48:42.000000000 +0000 +++ sangam-fb-401/linux-2.4.17/fs/fat/misc.c 2005-04-08 07:24:30.000000000 +0000 @@ -44,9 +44,24 @@ not_ro = !(s->s_flags & MS_RDONLY); if (not_ro) s->s_flags |= MS_RDONLY; - printk("Filesystem panic (dev %s).\n %s\n", kdevname(s->s_dev), msg); - if (not_ro) - printk(" File system has been set read-only\n"); + + /* NEW: */ + printk ( + "FS panic (dev %s): %s%s\n", + kdevname(s->s_dev), + msg, + not_ro ? " (set to ro)" : "" + ); + /* + * =OS= 20050408 + * + * Reduce length of message sent to console: Watchdog is very concerned + * about being to eloquent. ;-) + * + * printk("Filesystem panic (dev %s).\n %s\n", kdevname(s->s_dev), msg); + * if (not_ro) + * printk(" File system has been set read-only\n"); + */ } @@ -94,7 +109,13 @@ bh = fat_bread(sb, MSDOS_SB(sb)->fsinfo_sector); if (bh == NULL) { - printk("FAT bread failed in fat_clusters_flush\n"); + /* + * =OS= 20050408: + * + * Limit the number of messages... watchdog is watching me!!! + * + * printk("FAT bread failed in fat_clusters_flush\n"); + */ return; } @@ -335,7 +356,13 @@ return -1; /* beyond EOF */ *pos += sizeof(struct msdos_dir_entry); if (!(*bh = fat_bread(sb, sector))) { - printk("Directory sread (sector 0x%x) failed\n",sector); + /* + * =OS= 20050408: + * + * Limit the number of messages... watchdog is watching me!!! + * + * printk("Directory sread (sector 0x%x) failed\n",sector); + */ continue; } PRINTK (("get_entry apres sread\n"));