]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/ext4/ext4_common.c
net/phy: Correct AR8021 phy_mask
[karo-tx-uboot.git] / fs / ext4 / ext4_common.c
index c5e654235a6eed4aa891372f25e1521ddc71775c..02da75c084048396085fb9c288882c906c5b0e18 100644 (file)
@@ -1430,7 +1430,7 @@ static struct ext4_extent_header *ext4fs_get_extent_block
                        i++;
                        if (i >= le16_to_cpu(ext_block->eh_entries))
                                break;
-               } while (fileblock > le32_to_cpu(index[i].ei_block));
+               } while (fileblock >= le32_to_cpu(index[i].ei_block));
 
                if (--i < 0)
                        return 0;