Merge branch 'next/deletion' of git://git.linaro.org/people/arnd/arm-soc
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_buf.c
index 6f615c259411e955317ddd21ab93b4bced56f5fa..cf0ac056815f19bf3051fdb72194972477cd4cd1 100644 (file)
@@ -1623,13 +1623,6 @@ xfs_buf_delwri_promote(
        spin_unlock(&btp->bt_delwri_lock);
 }
 
-STATIC void
-xfs_buf_runall_queues(
-       struct workqueue_struct *queue)
-{
-       flush_workqueue(queue);
-}
-
 /*
  * Move as many buffers as specified to the supplied list
  * idicating if we skipped any buffers to prevent deadlocks.
@@ -1752,9 +1745,7 @@ xfs_flush_buftarg(
        LIST_HEAD(wait_list);
        struct blk_plug plug;
 
-       xfs_buf_runall_queues(xfsconvertd_workqueue);
-       xfs_buf_runall_queues(xfsdatad_workqueue);
-       xfs_buf_runall_queues(xfslogd_workqueue);
+       flush_workqueue(xfslogd_workqueue);
 
        set_bit(XBT_FORCE_FLUSH, &target->bt_flags);
        pincount = xfs_buf_delwri_split(target, &tmp_list, 0);