Commit afa6d5a
ext4: remove PAGE_SIZE checks for rec_len conversion
Previously, ext4_rec_len_(to|from)_disk only performed complex rec_len
conversions when PAGE_SIZE >= 65536 to reduce complexity.
However, we are soon to support file system block sizes greater than
page size, which makes these conditional checks unnecessary. Thus, these
checks are now removed.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Message-ID: <20251121090654.631996-4-libaokun@huaweicloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent b73f45a commit afa6d5a
1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
2487 | | - | |
2488 | | - | |
2489 | | - | |
2490 | | - | |
2491 | 2487 | | |
2492 | 2488 | | |
2493 | 2489 | | |
2494 | 2490 | | |
2495 | 2491 | | |
2496 | | - | |
2497 | 2492 | | |
2498 | 2493 | | |
2499 | 2494 | | |
2500 | | - | |
2501 | | - | |
2502 | | - | |
2503 | 2495 | | |
2504 | 2496 | | |
2505 | 2497 | | |
2506 | 2498 | | |
2507 | 2499 | | |
2508 | | - | |
2509 | 2500 | | |
2510 | 2501 | | |
2511 | 2502 | | |
| |||
2515 | 2506 | | |
2516 | 2507 | | |
2517 | 2508 | | |
2518 | | - | |
2519 | | - | |
2520 | | - | |
2521 | 2509 | | |
2522 | 2510 | | |
2523 | 2511 | | |
| |||
0 commit comments