Re: mtdchar kernel oops

From: Al Viro
Date: Sun Apr 15 2012 - 11:32:39 EST


On Sun, Apr 15, 2012 at 01:58:39PM +0200, Joel Reardon wrote:
> I think that this patch:
> "mtdchar: kill persistently held vfsmount"
> http://permalink.gmane.org/gmane.linux.kernel.commits.head/314175
>
> has started causing kernel oops's when running ubiformat. The oops is
> occuring in fs/namespace.c's mnt_add_count() line:
> this_cpu_add(mnt->mnt_pcp->mnt_count, n);
>
> with the stack trace:
> mntget()
> simple_pin_fs()
> mtdchar_open()

Check if commit c65390f4dd49755863f6d772ec538ee4757c08d7
Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: Mon Apr 9 01:36:28 2012 -0400

fix breakage in mtdchar_open(), sanitize failure exits

has fixed that.
--
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/