linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: kbusch@kernel.org, linux-block@vger.kernel.org
Cc: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Subject: Re: [PATCH] null_blk: Fix zoned command return code
Date: Wed, 9 Oct 2019 20:59:22 -0600	[thread overview]
Message-ID: <5cde2b4f-3bd5-04b4-3356-1d65a1ca228b@kernel.dk> (raw)
In-Reply-To: <20191009153813.4854-1-kbusch@kernel.org>

On 10/9/19 9:38 AM, kbusch@kernel.org wrote:
> From: Keith Busch <kbusch@kernel.org>
> 
> The return code from null_handle_zoned() sets the cmd->error value. Returning
> OK status when an error occured overwrites the intended cmd->error. Return the
> appropriate error code instead of setting the error in the cmd.

Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2019-10-10  2:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 15:38 [PATCH] null_blk: Fix zoned command return code kbusch
2019-10-10  2:59 ` Jens Axboe [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=5cde2b4f-3bd5-04b4-3356-1d65a1ca228b@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=kbusch@kernel.org \
    --cc=linux-block@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;
as well as URLs for NNTP newsgroup(s).