From: Kevin Wolf <kwolf@redhat.com>
To: Stefan Priebe <s.priebe@profihost.ag>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] iscsi: fix race between task completition and task abortion
Date: Tue, 14 Aug 2012 16:57:13 +0200 [thread overview]
Message-ID: <502A6749.3080902@redhat.com> (raw)
In-Reply-To: <1344926686-9197-1-git-send-email-s.priebe@profihost.ag>
Am 14.08.2012 08:44, schrieb Stefan Priebe:
> From: spriebe <git@profihost.ag>
>
> ---
> block/iscsi.c | 36 ++++++++++++++++++++----------------
> 1 files changed, 20 insertions(+), 16 deletions(-)
It would be nice to have your full name and a valid email address in the
From: line (needs an update of your git config) and a more detailed
explanation of the problem that you're fixing.
Having a Signed-off-by line, however, is absolutely required and the
patch can't be merged without it.
>
> diff --git a/block/iscsi.c b/block/iscsi.c
> index 12ca76d..257f97f 100644
> --- a/block/iscsi.c
> +++ b/block/iscsi.c
> @@ -76,6 +76,10 @@ static void
> iscsi_abort_task_cb(struct iscsi_context *iscsi, int status, void *command_data,
> void *private_data)
> {
> + IscsiAIOCB *acb = (IscsiAIOCB *)private_data;
> +
> + scsi_free_scsi_task(acb->task);
> + acb->task = NULL;
Please use scripts/checkpatch.pl. qemu uses an indentation of four
spaces, more coding style violations follow.
Kevin
prev parent reply other threads:[~2012-08-14 14:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 6:44 [Qemu-devel] [PATCH] iscsi: fix race between task completition and task abortion Stefan Priebe
2012-08-14 10:35 ` Stefan Hajnoczi
2012-08-14 12:09 ` ronnie sahlberg
2012-08-14 12:11 ` Stefan Hajnoczi
2012-08-14 14:08 ` Kevin Wolf
2012-08-14 20:21 ` Stefan Priebe
2012-08-14 14:57 ` Kevin Wolf [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=502A6749.3080902@redhat.com \
--to=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=s.priebe@profihost.ag \
/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.