Re: fbdev sysfs support.

viro
2004-02-07T01:10:52Z

On Sat, Feb 07, 2004 at 01:01:35AM +0000, James Simmons wrote:
> +static void release_fb_info(struct class_device *class_dev)
> +{
> + struct fb_info *info = to_fb_info(class_dev);
> +
> + /* This doesn't harm */
> + fb_dealloc_cmap(&info->cmap);
> +
> + kfree(info);
> +}

So what has happens when we hit existing kfree() on fb_info while sysfs
node is busy?