]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ext4, doc: fix and improve directory hash tree description
authorZeno Endemann <zeno.endemann@mailbox.org>
Thu, 25 Sep 2025 15:24:33 +0000 (17:24 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 10 Oct 2025 17:34:45 +0000 (13:34 -0400)
commit4b471b736ea1ce08113a12bd7dcdaea621b0f65f
tree23e81eeb5f1dd067e8e6100b463af9e3ba9de5ad
parent328a782cb138029182e521c08f50eb1587db955d
ext4, doc: fix and improve directory hash tree description

Some of the details about how directory hash trees work were confusing or
outright wrong, this patch should fix those.

A note on dx_tail's dt_reserved member, as far as I can tell the kernel
never sets this explicitly, so its content is apparently left-overs from
what was there before (for the dx_root I've seen remnants of a
ext4_dir_entry_tail struct from when the dir was not yet a hash dir).

Signed-off-by: Zeno Endemann <zeno.endemann@mailbox.org>
Message-ID: <20250925152435.22749-1-zeno.endemann@mailbox.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Documentation/filesystems/ext4/directory.rst