+4
−3
+1
−1
+3
−0
+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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.
[Jaegeuk Kim: use EXT4_ERROR_INODE]
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>