Re: [PATCH] devmem: Handle class_create() failure

From: Greg KH
Date: Fri Apr 02 2010 - 12:53:42 EST


On Fri, Apr 02, 2010 at 06:29:20PM +1100, Anton Blanchard wrote:
>
> I hit this when we had a bug in IDR for a few days. Basically sysfs would
> fail to create new inodes since it uses an IDR and therefore class_create would
> fail.
>
> While we are unlikely to see this fail we may as well handle it instead of
> oopsing.

Is this something that we need for .34? How were you getting this to
fail in the first place?

thanks,

greg k-h
--
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/