summaryrefslogtreecommitdiffstats
path: root/kernel/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/xfs/xfs_buf.c')
-rw-r--r--kernel/fs/xfs/xfs_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/xfs/xfs_buf.c b/kernel/fs/xfs/xfs_buf.c
index 39090fc56..eb1b8c8ac 100644
--- a/kernel/fs/xfs/xfs_buf.c
+++ b/kernel/fs/xfs/xfs_buf.c
@@ -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)) {