]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
ext2fs: implement dir entry creation in htree directories
authorJan Kara <jack@suse.cz>
Thu, 13 Feb 2020 10:15:59 +0000 (11:15 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Mar 2020 16:31:56 +0000 (12:31 -0400)
commit9a4d2dcc8deaa1c28b3a713c2f610be503855946
tree3d1cda7f6a0d022158414e0baaa5b6850e67a829
parenta25a84c6aa2a19987b0aeced363c4bf1dcc89ec8
ext2fs: implement dir entry creation in htree directories

Implement proper creation of new directory entries in htree directories
in ext2fs_link(). So far we just cleared EXT2_INDEX_FL and treated
directory as unindexed however this results in mismatched checksums if
metadata checksums are in use because checksums are placed in different
places depending on htree node type.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/link.c