Upgrade to 4.4.50-rt62
[kvmfornfv.git] / kernel / fs / xfs / xfs_buf.c
index 39090fc..eb1b8c8 100644 (file)
@@ -1535,7 +1535,7 @@ xfs_wait_buftarg(
         * ensure here that all reference counts have been dropped before we
         * start walking the LRU list.
         */
-       drain_workqueue(btp->bt_mount->m_buf_workqueue);
+       flush_workqueue(btp->bt_mount->m_buf_workqueue);
 
        /* loop until there is nothing left on the lru list. */
        while (list_lru_count(&btp->bt_lru)) {