1. NAME

flush_work - wait for a work to finish executing the last queueing instance

2. SYNOPSIS

bool flush_work(struct work_struct *  work );

3. ARGUMENTS

work
    the work to flush

4. DESCRIPTION

Wait until work has finished execution. work is guaranteed to be idle on return if it hasnAqt been requeued since flush started.

5. RETURNS

true if flush_work waited for the work to finish execution, false if it was already idle.

6. COPYRIGHT