aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/async-thread.c')
-rw-r--r--fs/btrfs/async-thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 00623dd16b81..66532b8f0f7c 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -315,6 +315,7 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
315 if (wq->high) 315 if (wq->high)
316 __btrfs_destroy_workqueue(wq->high); 316 __btrfs_destroy_workqueue(wq->high);
317 __btrfs_destroy_workqueue(wq->normal); 317 __btrfs_destroy_workqueue(wq->normal);
318 kfree(wq);
318} 319}
319 320
320void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max) 321void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)