All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: linux-block <linux-block@vger.kernel.org>,
	Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Subject: Re: [PATCH] block: check minor range in device_add_disk()
Date: Tue, 21 Dec 2021 09:34:33 -0700	[thread overview]
Message-ID: <164010447356.608284.16828138439159731604.b4-ty@kernel.dk> (raw)
In-Reply-To: <b1b19379-23ee-5379-0eb5-94bf5f79f1b4@i-love.sakura.ne.jp>

On Fri, 17 Dec 2021 23:51:25 +0900, Tetsuo Handa wrote:
> ioctl(fd, LOOP_CTL_ADD, 1048576) causes
> 
>   sysfs: cannot create duplicate filename '/dev/block/7:0'
> 
> message because such request is treated as if ioctl(fd, LOOP_CTL_ADD, 0)
> due to MINORMASK == 1048575. Verify that all minor numbers for that device
> fit in the minor range.
> 
> [...]

Applied, thanks!

[1/1] block: check minor range in device_add_disk()
      commit: e338924bd05d6e71574bc13e310c89e10e49a8a5

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2021-12-21 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 14:51 [PATCH] block: check minor range in device_add_disk() Tetsuo Handa
2021-12-21 16:19 ` Christoph Hellwig
2021-12-21 16:34 ` 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=164010447356.608284.16828138439159731604.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    /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.