Re: How do I get the ext3 driver to shut up?

From: Theodore Ts'o
Date: Tue Mar 14 2006 - 10:00:53 EST


On Mon, Mar 13, 2006 at 11:14:07PM -0800, Andrew Morton wrote:
> > Guess which device driver feels a bit chatty?
> >
> > ...
> >
> > VFS: Can't find ext3 filesystem on dev loop0.
>
> That's only printed if the sys_mount() caller set MS_VERBOSE in `flags'.

I should have been a bit more explict in my previous message.
Actually, if you trace down the logic, it's only printed if
sys_mount() __DIDN'T__ set MS_VERBOSE in 'flags'. The code in
fs/super.c sets the "silent" flag if (flags & MS_VERBOSE) is non-zero.
The meaning is reversed, which is counterintuitive. Hence, my patch.

- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/