Re: [RFC][PATCH] debugfs: Fix corrupted loop in debugfs_remove_recursive

From: Greg Kroah-Hartman
Date: Tue Jun 10 2014 - 16:19:20 EST


On Tue, Jun 10, 2014 at 09:33:57AM -0400, Steven Rostedt wrote:
> On Mon, 9 Jun 2014 14:06:07 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > [ I'm currently running my tests on it now, and so far, after a few
> > hours it has yet to blow up. I'll run it for 24 hours which it never
> > succeeded in the past. ]
>
> I ran with this patch on three boxes all night, one for 24 hours. No
> problems. I stopped the tests, removed the patch, ran the test on the
> same boxes and they all crashed within an hour.
>
> This patch definitely fixes the bug.
>
> The test I ran was:
>
> while :; do
> ./ftrace-test-mkinstances || break
> ./ftrace-test-mkinstances-2 || break
> done
>
> Note, the tests expect debugfs to be mounted at /debug.

Well, those are some broken tests :)

Anyway, thanks for the patch, I'll queue it up after 3.16-rc1 is out.

greg k-h
--
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/