1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-29 13:18:30 -05:00

corrected the setting of a checksum when adding directory entries

This commit is contained in:
Bo Branten
2024-09-14 19:10:00 +02:00
parent 66759e0f1b
commit 6d1ac271e5

View File

@@ -1630,7 +1630,7 @@ int ext3_dx_add_entry(struct ext2_icb *icb, struct dentry *dentry,
frame->entries = entries = entries2;
frame->bh = bh2;
}
// ext3_journal_dirty_metadata(handle, frames[0].bh);
ext4_dx_csum_set(dir, (struct ext4_dir_entry*)frames[0].bh->b_data);
set_buffer_dirty(frames[0].bh);
}
de = do_split(icb, dir, &bh, frame, &hinfo, &err);