Skip to content
  • Tom Rini's avatar
    ext4: Refuse to mount filesystems with 64bit feature set · 6f94ab66
    Tom Rini authored
    
    
    With e2fsprogs after 1.43 the 64bit and metadata_csum features are
    enabled by default.  The metadata_csum feature changes how
    ext4_group_desc->bg_checksum is calculated, which would break write
    support.  The 64bit feature however introduces changes such that it
    cannot be read by implementations that do not support it.  Since we do
    not support this, we must not mount it.
    
    Cc: Stephen Warren <swarren@nvidia.com>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Lukasz Majewski <l.majewski@samsung.com>
    Cc: Stefan Roese <sr@denx.de>
    Reported-by: default avatarAndrew Bradford <andrew.bradford@kodakalaris.com>
    Signed-off-by: default avatarTom Rini <trini@konsulko.com>
    6f94ab66