[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B29299B.5080704@redhat.com>
Date: Wed, 16 Dec 2009 19:40:27 +0100
From: Milan Broz <mbroz@...hat.com>
To: Greg KH <greg@...ah.com>
CC: Zdenek Kabelac <zkabelac@...hat.com>,
device-mapper development <dm-devel@...hat.com>,
linux-kernel@...r.kernel.org, Alasdair G Kergon <agk@...hat.com>
Subject: Re: [dm-devel] Re: dm: sysfs add empty release function to avoid
debug warning
On 12/16/2009 06:46 PM, Greg KH wrote:
> You will find that all of these are modules, right? That's being worked
> on still.
probably. I see that this implementation is in kernel since import to git...
What's the right solution in this particular case?
It is exactly the same situation (using embedded kobj like module handle does).
In DM, the whole problem here is that kobject is used for attribute representation
of mapped device, mapped device struct is using its own reference counting
and can dissappear before the kobject. So it must properly solve this situation.
> Again, please fix your code not to have an empty release function. Will
> you revert this change and fix it properly?
Sure, working on it. Proper fix will replace this when ready.
Milan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists