Re: [PATCH 7/9] PM: Add suspend blocking work.

Tejun Heo
2010-04-24T07:43:25Z

Hello,

On 04/24/2010 09:21 AM, Arve Hjønnevåg wrote:
> OK, I'll try to do this. Do you want it in a separate header file as well?

I think it would fit better with the rest of suspend_blocker.h APIs
but it's not like I thought about it hard and long, so please take my
preference with a grain of salt.

> I only touch the work structure after the callback has returned for
> suspend blocking work, which does not allow that.

Oh, you're right. I missed the current_work_blocks_suspend test.
Sorry about that.

Thanks.

--
tejun