Commit c21c27e
xfs: always warn about deprecated mount options
[ Upstream commit 630785bfbe12c3ee3ebccd8b530a98d632b7e39d ]
The deprecation of the 'attr2' mount option in 6.18 wasn't entirely
successful because nobody noticed that the kernel never printed a
warning about attr2 being set in fstab if the only xfs filesystem is the
root fs; the initramfs mounts the root fs with no mount options; and the
init scripts only conveyed the fstab options by remounting the root fs.
Fix this by making it complain all the time.
Cc: [email protected] # v5.13
Fixes: 92cf7d3 ("xfs: Skip repetitive warnings about mount options")
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
[ Update existing xfs_fs_warn_deprecated() callers ]
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent aa05a04 commit c21c27e
1 file changed
Lines changed: 21 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
| 1389 | + | |
1392 | 1390 | | |
1393 | | - | |
1394 | | - | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
1395 | 1407 | | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | 1408 | | |
1400 | 1409 | | |
1401 | 1410 | | |
| |||
1543 | 1552 | | |
1544 | 1553 | | |
1545 | 1554 | | |
1546 | | - | |
| 1555 | + | |
1547 | 1556 | | |
1548 | 1557 | | |
1549 | 1558 | | |
1550 | | - | |
| 1559 | + | |
1551 | 1560 | | |
1552 | 1561 | | |
1553 | 1562 | | |
1554 | | - | |
| 1563 | + | |
1555 | 1564 | | |
1556 | 1565 | | |
1557 | 1566 | | |
1558 | | - | |
| 1567 | + | |
1559 | 1568 | | |
1560 | 1569 | | |
1561 | 1570 | | |
| |||
0 commit comments