]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
loop: revert exclusive opener loop status change
authorJens Axboe <axboe@kernel.dk>
Thu, 5 Feb 2026 16:26:53 +0000 (09:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 5 Feb 2026 16:26:53 +0000 (09:26 -0700)
commita6abd64e145ca3084b6a567e06517a7c2dbfd38d
treedeefd9e1aca5682357e330f62c56fc64f3fc03a1
parent7e210d5e934c8af0f74a1e1b4852a8996a6cb5a5
loop: revert exclusive opener loop status change

This commit effectively reverts the following two commits:

2704024d83fa ("loop: add missing bd_abort_claiming in loop_set_status")
08e136ebd193 ("loop: don't change loop device under exclusive opener in loop_set_status")

as there are reports of them causing issues with unmounting. As we're
close to the 6.19 kernel release and the original author hasn't taken a
closer look at this yet, revert them for release.

Reported-by: nokangaroo <nokangaroo@aon.at>
Link: https://lore.kernel.org/all/62de4453-17e8-47f6-a10b-39bf5a49fdee@leemhuis.info/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c