From: "quwenruo@cn.fujitsu.com" <quwenruo@cn.fujitsu.com>
To: Filipe David Borba Manana <fdmanana@gmail.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] Btrfs: add missing kfree in btrfs_destroy_workqueue
Date: Wed, 12 Mar 2014 00:34:45 +0000 [thread overview]
Message-ID: <531FABE6.6090008@cn.fujitsu.com> (raw)
In-Reply-To: <1394548304-8741-1-git-send-email-fdmanana@gmail.com>
[-- 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
prev parent reply other threads:[~2014-03-12 0:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531FABE6.6090008@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--cc=fdmanana@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox