Re: [PATCH] configfs: export config_group_find_obj
From: Joel Becker
Date: Fri Aug 19 2005 - 10:10:51 EST
On Thu, Aug 18, 2005 at 02:17:49PM -0700, Joel Becker wrote:
> On Thu, Aug 18, 2005 at 02:26:02PM +0800, David Teigland wrote:
> > In the dlm I use config_group_find_obj() which isn't exported.
>
> Did you notice the /* XXX Locking */? Let me go see how you use
> it, if it is the best way, we'll need to revisit the function and be
> sure it's happy.
Yeah, your usage is unsafe, but the fault lies with find_obj().
Needs fixing.
Joel
--
"Vote early and vote often."
- Al Capone
http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
-
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/