Re: [PATCH] video: don't use flush_scheduled_work() in fb_defio

From: Paul Mundt
Date: Thu Jun 16 2011 - 02:57:50 EST


On Wed, Jun 15, 2011 at 04:57:21PM +0200, Tejun Heo wrote:
> flush_scheduled_work() in on the way out. fb_deferred_io_cleanup()
> can simply sync-cancel info->deferred_work instead of cancel +
> flush_scheduled_work(). Drop flush_scheduled_work() usage.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Jaya Kumar <jayalk@xxxxxxxxxxxx>
> ---
> Compile tested. I'm planning on marking flush_scheduled_work()
> deprecated in linux-next so it would be great if this can show up
> there soonish. Thank you.
>
> drivers/video/fb_defio.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
I've applied it to my fbdev tree, so it should show up in -next as of
tomorrow.

In the future, please also Cc linux-fbdev@xxxxxxxxxxxxxxx on these
things, as they're likely to be overlooked otherwise.
--
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/