Re: BUG on unloading the fuse module

From: Fengguang Wu
Date: Fri Oct 05 2007 - 07:35:20 EST


On Fri, Oct 05, 2007 at 01:33:10PM +0200, Miklos Szeredi wrote:
> > > > > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading.
> > > > >
> > > > > It's fixed in Greg's patch queue.
> > > > >
> > > > > This patch against -mm will also fix it.
> > > >
> > > > Oh no, it panics:
> > >
> > > How about this one?
> >
> > Yes, it did the trick.
>
> Thanks.
>
> It seems, some kobject ->release() function is freeing kobj->k_name,
> so we need to free it, and set it to NULL _before_ calling
> ->release().

Agreed.

> Greg, can you please fix that in your queue?

Acked-by: Fengguang Wu <wfg@xxxxxxxxxxxxxxxx>

-
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/