commit | ef66af101a261f1c86ef9ec3859ebd9c28ee2e54 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@gmail.com> | Tue Mar 11 14:31:44 2014 +0000 |
committer | Chris Mason <clm@fb.com> | Thu Mar 20 17:15:27 2014 -0700 |
tree | 8f56118bff26b0458f3448aa2a56e1135784edda | |
parent | 308d9800b2c4f1fb344dbf055912d3140438bac0 [diff] [blame] |
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>
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 00623dd..66532b8 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c
@@ -315,6 +315,7 @@ if (wq->high) __btrfs_destroy_workqueue(wq->high); __btrfs_destroy_workqueue(wq->normal); + kfree(wq); } void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)