Skip to content
Commit 1f7bebb9 authored by Andreas Schlick's avatar Andreas Schlick Committed by Theodore Ts'o
Browse files

ext4: Always set dx_node's fake_dirent explicitly.



When ext4_dx_add_entry() has to split an index node, it has to ensure that
name_len of dx_node's fake_dirent is also zero, because otherwise e2fsck
won't recognise it as an intermediate htree node and consider the htree to
be corrupted.

Signed-off-by: default avatarAndreas Schlick <schlick@lavabit.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 0e3d2a63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment