Commit 1dae549
xfs: always warn about deprecated mount options
[ Upstream commit 630785b ]
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 5ff5765 commit 1dae549
1 file changed
+21
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
1236 | | - | |
1237 | | - | |
| 1235 | + | |
1238 | 1236 | | |
1239 | | - | |
1240 | | - | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1241 | 1253 | | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | 1254 | | |
1246 | 1255 | | |
1247 | 1256 | | |
| |||
1380 | 1389 | | |
1381 | 1390 | | |
1382 | 1391 | | |
1383 | | - | |
| 1392 | + | |
1384 | 1393 | | |
1385 | 1394 | | |
1386 | 1395 | | |
1387 | | - | |
| 1396 | + | |
1388 | 1397 | | |
1389 | 1398 | | |
1390 | 1399 | | |
1391 | | - | |
| 1400 | + | |
1392 | 1401 | | |
1393 | 1402 | | |
1394 | 1403 | | |
1395 | | - | |
| 1404 | + | |
1396 | 1405 | | |
1397 | 1406 | | |
1398 | 1407 | | |
| |||
0 commit comments