Revert "ext4fs: Fix: Read outside partition error"
authorTom Rini <trini@konsulko.com>
Mon, 26 May 2025 22:29:31 +0000 (16:29 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 May 2025 16:09:12 +0000 (10:09 -0600)
commite04d137231f2e9e14708a32448c879125b8e308f
tree7a36a8ffce9be20965e0280db98c8ad5e03d80e3
parent2ca1398a5ece8d33d8feb6b410e6e38588b5d2bc
Revert "ext4fs: Fix: Read outside partition error"

The issue here is that the function read_allocated_block() will report
problems via a negative return value. If we say the return value is
stored in an lbaint_t that can no longer happen (and Coverity discovered
this by reporting a no effect comparison and then dead code). The
problem being fixed by allowing for storing a larger block number will
have to be solved in some other manner.

This reverts commit df2ed552f0b05591090369a7fe7ddc92439dea5c.

Addresses-Coverity-ID: 131183
Signed-off-by: Tom Rini <trini@konsulko.com>
fs/ext4/ext4fs.c