All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: ming.lei@redhat.com
Cc: chaitanya.kulkarni@wdc.com, Christoph Hellwig <hch@lst.de>,
	linux-block@vger.kernel.org
Subject: Re: [PATCH] block: fix offset/size check in bio_trim()
Date: Thu, 14 Apr 2022 10:16:14 -0600	[thread overview]
Message-ID: <164995297405.65099.2455811113060249522.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220414084443.1736850-1-ming.lei@redhat.com>

On Thu, 14 Apr 2022 16:44:43 +0800, Ming Lei wrote:
> Unit of bio->bi_iter.bi_size is bytes, but unit of offset/size
> is sector.
> 
> Fix the above issue in checking offset/size in bio_trim().
> 
> 

Applied, thanks!

[1/1] block: fix offset/size check in bio_trim()
      commit: 8535c0185d14ea41f0efd6a357961b05daf6687e

Best regards,
-- 
Jens Axboe



  reply	other threads:[~2022-04-14 16:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  8:44 [PATCH] block: fix offset/size check in bio_trim() Ming Lei
2022-04-14 16:16 ` Jens Axboe [this message]
2022-04-15  5:26 ` Chaitanya Kulkarni
  -- strict thread matches above, loose matches on Subject: below --
2022-04-12 14:58 Ming Lei
2022-04-13 16:47 ` Christoph Hellwig

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=164995297405.65099.2455811113060249522.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.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.