[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171952626823.874041.3335958762310133859.b4-ty@kernel.dk>
Date: Thu, 27 Jun 2024 16:11:08 -0600
From: Jens Axboe <axboe@...nel.dk>
To: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Gulam Mohamed <gulam.mohamed@...cle.com>
Cc: yukuai1@...weicloud.com, hch@....de
Subject: Re: [PATCH V6 for-6.11/block] loop: Fix a race between loop detach
and loop open
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
Powered by blists - more mailing lists