Commit 8fb2f53
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]>
[ adapted m_features field reference to m_flags ]
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 0791e68 commit 8fb2f53
1 file changed
+21
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
| 1165 | + | |
1168 | 1166 | | |
1169 | | - | |
1170 | | - | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1171 | 1183 | | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | 1184 | | |
1176 | 1185 | | |
1177 | 1186 | | |
| |||
1314 | 1323 | | |
1315 | 1324 | | |
1316 | 1325 | | |
1317 | | - | |
| 1326 | + | |
1318 | 1327 | | |
1319 | 1328 | | |
1320 | 1329 | | |
1321 | | - | |
| 1330 | + | |
1322 | 1331 | | |
1323 | 1332 | | |
1324 | 1333 | | |
1325 | | - | |
| 1334 | + | |
1326 | 1335 | | |
1327 | 1336 | | |
1328 | 1337 | | |
1329 | | - | |
| 1338 | + | |
1330 | 1339 | | |
1331 | 1340 | | |
1332 | 1341 | | |
| |||
0 commit comments