diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2012-08-02 17:27:43 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-08-02 17:27:43 -0400 |
commit | 81683c6a32045cf04d76a024e6f1753535b97c22 (patch) | |
tree | 0b624027ad1a3c3210907c0739c29e46ad040ec7 /lib/ext2fs/mkdir.c | |
parent | 07307114dea005917b0c3a18a08948435f4a2abc (diff) | |
download | e2fsprogs-81683c6a32045cf04d76a024e6f1753535b97c22.tar.gz |
libext2fs: add checksums to the end of directory leaf nodes
Introduce small structures for recording directory tree checksums, and
some API changes to support writing out directory blocks with
checksums.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/mkdir.c')
-rw-r--r-- | lib/ext2fs/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/mkdir.c b/lib/ext2fs/mkdir.c index 861ddabb..4a854391 100644 --- a/lib/ext2fs/mkdir.c +++ b/lib/ext2fs/mkdir.c @@ -100,7 +100,7 @@ errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum, retval = ext2fs_write_new_inode(fs, ino, &inode); if (retval) goto cleanup; - retval = ext2fs_write_dir_block(fs, blk, block); + retval = ext2fs_write_dir_block4(fs, blk, block, 0, ino); if (retval) goto cleanup; |