mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 19:15:14 +00:00
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>
This commit is contained in:
parent
308d9800b2
commit
ef66af101a
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
|
||||||
if (wq->high)
|
if (wq->high)
|
||||||
__btrfs_destroy_workqueue(wq->high);
|
__btrfs_destroy_workqueue(wq->high);
|
||||||
__btrfs_destroy_workqueue(wq->normal);
|
__btrfs_destroy_workqueue(wq->normal);
|
||||||
|
kfree(wq);
|
||||||
}
|
}
|
||||||
|
|
||||||
void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)
|
void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max)
|
||||||
|
|
Loading…
Add table
Reference in a new issue