Commit 42a6aeb4 authored by Eric Hagberg's avatar Eric Hagberg Committed by Greg Kroah-Hartman
Browse files

Revert "loop: Avoid updating block size under exclusive owner"



Revert commit ce8da5d1 which is commit
7e495382 upstream.

This reverts commit ce8da5d1 ("loop: Avoid updating block size under
exclusive owner") for the 6.6 kernel, because if the LTP ioctl_loop06 test is
run with this patch in place, the test will fail, it leaves the host unable to
kexec into the kernel again (hangs forever) and "losetup -a" will hang on
attempting to access the /dev/loopN device that the test has set up.

The patch doesn't need to be reverted from 6.12, as it works fine there.

Cc: stable@vger.kernel.org # 6.6.x
Signed-off-by: default avatarEric Hagberg <ehagberg@janestreet.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 06146c26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment