Re: 2.6.10-rc1-mm3

Tejun Heo
2004-11-09T12:14:01Z

On Tue, Nov 09, 2004 at 12:05:09AM -0800, Greg KH wrote:
> Ah, found it. Was caused by a patch from Tejun Heo <tj@home-tj.org>
> that went into the tree in my last round of driver core changes.
>
> Tejun, the call to unlink() in the error path in kobject_add() does a
> kobject_put(). Your patch added an extra kobject_put() which caused bad
> things to happen when we failed.

Yeah, that's right. I thought I had a unreleased kobject due to
above code but I must have been confused somewhere. Sorry about that.

Please forgive me. :-)

--
tejun