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