]> git.sur5r.net Git - u-boot/blobdiff - fs/ext4/ext4_common.c
ext4: fix wrong usage of le32_to_cpu()
[u-boot] / fs / ext4 / ext4_common.c
index caec9d45779bfedbc98ccbf5e40bd11b47df84fa..cd1bdfe025ad9282c97699995e79d77c20dd70eb 100644 (file)
@@ -2273,7 +2273,7 @@ int ext4fs_mount(unsigned part_length)
                goto fail;
        }
 
-       if (le32_to_cpu(data->sblock.revision_level == 0))
+       if (le32_to_cpu(data->sblock.revision_level) == 0)
                fs->inodesz = 128;
        else
                fs->inodesz = le16_to_cpu(data->sblock.inode_size);