ext4: move 'ix' sanity check to corrent position

Check 'ix' before it is used.

Fixes: 80e675f906 ("ext4: optimize memmmove lengths in extent/index insertions")
Signed-off-by: Gou Hao <gouhao@uniontech.com>
Link: https://lore.kernel.org/r/20230906013341.7199-1-gouhao@uniontech.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Gou Hao 2023-09-06 09:33:41 +08:00 • committed by Theodore Ts'o
commit af90a8f4a0