Commit 42a6aeb
Revert "loop: Avoid updating block size under exclusive owner"
Revert commit ce8da5d which is commit
7e49538 upstream.
This reverts commit ce8da5d ("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: Eric Hagberg <ehagberg@janestreet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 06146c2 commit 42a6aeb
1 file changed
Lines changed: 8 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
1475 | | - | |
1476 | | - | |
| 1475 | + | |
1477 | 1476 | | |
1478 | 1477 | | |
1479 | 1478 | | |
1480 | | - | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
| 1479 | + | |
| 1480 | + | |
1498 | 1481 | | |
1499 | 1482 | | |
1500 | 1483 | | |
1501 | 1484 | | |
1502 | 1485 | | |
1503 | 1486 | | |
1504 | | - | |
| 1487 | + | |
1505 | 1488 | | |
1506 | 1489 | | |
1507 | 1490 | | |
| |||
1513 | 1496 | | |
1514 | 1497 | | |
1515 | 1498 | | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | 1499 | | |
1522 | 1500 | | |
1523 | 1501 | | |
| |||
1536 | 1514 | | |
1537 | 1515 | | |
1538 | 1516 | | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1539 | 1520 | | |
1540 | 1521 | | |
1541 | 1522 | | |
| |||
1590 | 1571 | | |
1591 | 1572 | | |
1592 | 1573 | | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | 1574 | | |
1598 | 1575 | | |
| 1576 | + | |
1599 | 1577 | | |
1600 | 1578 | | |
1601 | 1579 | | |
| |||
0 commit comments