* [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue
@ 2014-03-11 14:31 Filipe David Borba Manana
2014-03-12 0:34 ` quwenruo
0 siblings, 1 reply; 2+ messages in thread
From: Filipe David Borba Manana @ 2014-03-11 14:31 UTC (permalink / raw)
To: linux-btrfs; +Cc: quwenruo, Filipe David Borba Manana
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
---
fs/btrfs/async-thread.c | 1 +
1 file changed, 1 insertion(+)
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 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
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)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue
2014-03-11 14:31 [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue Filipe David Borba Manana
@ 2014-03-12 0:34 ` quwenruo
0 siblings, 0 replies; 2+ messages in thread
From: quwenruo @ 2014-03-12 0:34 UTC (permalink / raw)
To: Filipe David Borba Manana, linux-btrfs@vger.kernel.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 840 bytes --]
On Tue, 11 Mar 2014 14:31:44 +0000, Filipe David Borba Manana wrote:
> Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
> ---
> fs/btrfs/async-thread.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 @@ void btrfs_destroy_workqueue(struct btrfs_workqueue *wq)
> 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)
Thanks for finding out the missing kfree.
That's my fault....
Qu.ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±ý»k~ÏâØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣøm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-12 0:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 14:31 [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue Filipe David Borba Manana
2014-03-12 0:34 ` quwenruo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox