diff options
author | Filipe Manana <fdmanana@gmail.com> | 2014-03-11 10:31:44 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-20 20:15:27 -0400 |
commit | ef66af101a261f1c86ef9ec3859ebd9c28ee2e54 (patch) | |
tree | 8f56118bff26b0458f3448aa2a56e1135784edda /fs/btrfs/async-thread.c | |
parent | 308d9800b2c4f1fb344dbf055912d3140438bac0 (diff) |
Btrfs: add missing kfree in btrfs_destroy_workqueue
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
-rw-r--r-- | fs/btrfs/async-thread.c | 1 |
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 | ||
320 | void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max) | 321 | void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max) |