From: Shaohua Li <shli@kernel.org>
To: Guoqing Jiang <gqjiang@suse.com>
Cc: neilb@suse.com, linux-raid@vger.kernel.org
Subject: Re: [V2 PATCH] md/bitmap: clear bitmap if bitmap_create failed
Date: Fri, 1 Apr 2016 13:04:56 -0700 [thread overview]
Message-ID: <20160401200456.GA23256@kernel.org> (raw)
In-Reply-To: <1459501729-19224-1-git-send-email-gqjiang@suse.com>
On Fri, Apr 01, 2016 at 05:08:49PM +0800, Guoqing Jiang wrote:
> If bitmap_create returns an error, we need to call
> either bitmap_destroy or bitmap_free to do clean up,
> and the selection is based on mddev->bitmap is set
> or not.
>
> And the sysfs_put(bitmap->sysfs_can_clear) is moved
> from bitmap_destroy to bitmap_free, and the comment
> of bitmap_create is changed as well.
Applied, thanks!
prev parent reply other threads:[~2016-04-01 20:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-25 11:00 [PATCH] md/bitmap: call bitmap_destroy in case bitmap_create failed Guoqing Jiang
2016-03-25 22:02 ` Shaohua Li
2016-03-28 3:27 ` Guoqing Jiang
2016-03-28 18:15 ` Shaohua Li
2016-04-01 9:08 ` [V2 PATCH] md/bitmap: clear bitmap if " Guoqing Jiang
2016-04-01 20:04 ` Shaohua Li [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=20160401200456.GA23256@kernel.org \
--to=shli@kernel.org \
--cc=gqjiang@suse.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.