Re: OOPS in configfs when doing d_delete

From: Joel Becker
Date: Tue Feb 22 2011 - 04:14:31 EST


On Mon, Feb 21, 2011 at 11:47:09AM +0100, Jiri Slaby wrote:
> > I think you're right about the superfluous test, but I need more
> > investigation to see what's going on. Thanks for the report.
> > What was causing attach_group() to fail? Do you know?
>
> Dunno, I just modprobe'd the configfs example from Doc dir
> (configfs_example_macros).

I'm going to revisit the failed example (which shouldn't fail, I
would think). Can you try the following patch to safely handle the
failure rather than crashing the kernel?

Joel