Merge branch 'akpm/master'
[deliverable/linux.git] / drivers / md / dm.c
index fa9b1cb4438a6ff15b71d2fdf253834c553bd5f8..8a0cae004dfc9ad1492bbd170416e678c63a0ad0 100644 (file)
@@ -1884,7 +1884,7 @@ static void __dm_destroy(struct mapped_device *md, bool wait)
        spin_unlock(&_minor_lock);
 
        if (dm_request_based(md) && md->kworker_task)
-               flush_kthread_worker(&md->kworker);
+               kthread_flush_worker(&md->kworker);
 
        /*
         * Take suspend_lock so that presuspend and postsuspend methods
@@ -2139,7 +2139,7 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map,
        if (dm_request_based(md)) {
                dm_stop_queue(md->queue);
                if (md->kworker_task)
-                       flush_kthread_worker(&md->kworker);
+                       kthread_flush_worker(&md->kworker);
        }
 
        flush_workqueue(md->wq);
This page took 0.024197 seconds and 5 git commands to generate.