Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef66af10 authored by Filipe Manana's avatar Filipe Manana Committed by Chris Mason
Browse files

Btrfs: add missing kfree in btrfs_destroy_workqueue

parent 308d9800
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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)