|
@@ -3453,8 +3453,8 @@ static void pool_postsuspend(struct dm_target *ti)
|
|
struct pool_c *pt = ti->private;
|
|
struct pool_c *pt = ti->private;
|
|
struct pool *pool = pt->pool;
|
|
struct pool *pool = pt->pool;
|
|
|
|
|
|
- cancel_delayed_work(&pool->waker);
|
|
|
|
- cancel_delayed_work(&pool->no_space_timeout);
|
|
|
|
|
|
+ cancel_delayed_work_sync(&pool->waker);
|
|
|
|
+ cancel_delayed_work_sync(&pool->no_space_timeout);
|
|
flush_workqueue(pool->wq);
|
|
flush_workqueue(pool->wq);
|
|
(void) commit(pool);
|
|
(void) commit(pool);
|
|
}
|
|
}
|