Re: 2.6.10-rc1-mm3

From: Tejun Heo
Date: Tue Nov 09 2004 - 07:17:45 EST


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@xxxxxxxxxxx>
> 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

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