From: Philipp Reisner <philipp.reisner@linbit.com>
To: axboe@kernel.dk
Cc: nikai@nikai.net, akpm@linux-foundation.org, drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [patch 4/4] drivers/block/drbd/drbd_main.c: fix error path
Date: Thu, 28 Oct 2010 10:22:48 +0200 [thread overview]
Message-ID: <201010281022.48856.philipp.reisner@linbit.com> (raw)
In-Reply-To: <201010271943.o9RJh9cY013845@imap1.linux-foundation.org>
Hi Jens,
The patch is obviously correct.
Should I pick it up (and send you a pull req (later))?
Are you going to pick it up directly?
Best,
Phil
> From: Nicolas Kaiser <nikai@nikai.net>
>
> Failure to create drbd_ee_mempool appears not to get checked. Looks like
> a copy-and-paste problem to me.
>
> Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
> Cc: Lars Ellenberg <drbd-dev@lists.linbit.com>
> Cc: Philipp Reisner <philipp.reisner@linbit.com>
> Cc: Jens Axboe <axboe@kernel.dk>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/block/drbd/drbd_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN
> drivers/block/drbd/drbd_main.c~drivers-block-drbd-drbd_mainc-fix-error-pat
> h drivers/block/drbd/drbd_main.c ---
> a/drivers/block/drbd/drbd_main.c~drivers-block-drbd-drbd_mainc-fix-error-p
> ath +++ a/drivers/block/drbd/drbd_main.c
> @@ -2982,7 +2982,7 @@ static int drbd_create_mempools(void)
>
> drbd_ee_mempool = mempool_create(number,
> mempool_alloc_slab, mempool_free_slab, drbd_ee_cache);
> - if (drbd_request_mempool == NULL)
> + if (drbd_ee_mempool == NULL)
> goto Enomem;
>
> /* drbd's page pool */
> _
--
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
next prev parent reply other threads:[~2010-10-28 8:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 19:43 [Drbd-dev] [patch 4/4] drivers/block/drbd/drbd_main.c: fix error path akpm
2010-10-28 8:22 ` Philipp Reisner [this message]
2010-10-28 12:14 ` Jens Axboe
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=201010281022.48856.philipp.reisner@linbit.com \
--to=philipp.reisner@linbit.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=drbd-dev@lists.linbit.com \
--cc=nikai@nikai.net \
/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