• T
    ext4: fix kernel oops caused by spurious casefold flag · 6456ca65
    Theodore Ts'o 提交于
    If an directory has the a casefold flag set without the casefold
    feature set, s_encoding will not be initialized, and this will cause
    the kernel to dereference a NULL pointer.  In addition to adding
    checks to avoid these kernel oops, attempts to load inodes with the
    casefold flag when the casefold feature is not enable will cause the
    file system to be declared corrupted.
    Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
    6456ca65
namei.c 106.2 KB