mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Gulam Mohamed <gulam.mohamed@oracle.com>
Cc: yukuai1@huaweicloud.com, hch@lst.de
Subject: Re: [PATCH V6 for-6.11/block] loop: Fix a race between loop detach and loop open
Date: Thu, 27 Jun 2024 16:11:08 -0600	[thread overview]
Message-ID: <171952626823.874041.3335958762310133859.b4-ty@kernel.dk> (raw)
In-Reply-To: <20240618164042.343777-1-gulam.mohamed@oracle.com>


On Tue, 18 Jun 2024 16:40:42 +0000, Gulam Mohamed wrote:
> 1. Userspace sends the command "losetup -d" which uses the open() call
>    to open the device
> 2. Kernel receives the ioctl command "LOOP_CLR_FD" which calls the
>    function loop_clr_fd()
> 3. If LOOP_CLR_FD is the first command received at the time, then the
>    AUTOCLEAR flag is not set and deletion of the
>    loop device proceeds ahead and scans the partitions (drop/add
>    partitions)
> 
> [...]

Applied, thanks!

[1/1] loop: Fix a race between loop detach and loop open
      commit: 18048c1af7836b8e31739d9eaefebc2bf76261f7

Best regards,
-- 
Jens Axboe




  parent reply	other threads:[~2024-06-27 22:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 16:40 Gulam Mohamed
2024-06-19  8:16 ` Christoph Hellwig
2024-06-19  8:21   ` Gulam Mohamed
2024-06-19  8:27     ` Christoph Hellwig
2024-06-19  9:00       ` Gulam Mohamed
2024-06-27 20:13   ` Gulam Mohamed
2024-06-27 22:11     ` Jens Axboe
2024-06-28  9:25       ` Gulam Mohamed
2024-06-27 22:11 ` Jens Axboe [this message]
2024-06-28  5:39 ` kernel test robot
2024-06-30 22:11   ` Gulam Mohamed
2024-07-02 15:50     ` hch
2024-07-05 19:51       ` Gulam Mohamed
2024-07-09  9:09         ` Gulam Mohamed
2024-07-09 11:21           ` hch

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=171952626823.874041.3335958762310133859.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=gulam.mohamed@oracle.com \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yukuai1@huaweicloud.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®