Commit af494af
libfs: remove redundant checks of s_encoding
Now that neither ext4 nor f2fs allows inodes with the casefold flag to
be instantiated when unsupported, it's unnecessary to repeatedly check
for support later on during random filesystem operations.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20230814182903.37267-4-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent b814279 commit af494af
1 file changed
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | 1384 | | |
1395 | 1385 | | |
1396 | 1386 | | |
| |||
1411 | 1401 | | |
1412 | 1402 | | |
1413 | 1403 | | |
1414 | | - | |
| 1404 | + | |
1415 | 1405 | | |
1416 | 1406 | | |
1417 | 1407 | | |
| |||
1453 | 1443 | | |
1454 | 1444 | | |
1455 | 1445 | | |
1456 | | - | |
| 1446 | + | |
1457 | 1447 | | |
1458 | 1448 | | |
1459 | 1449 | | |
| |||
0 commit comments