From 7447921dff38ef06a78355c0a7a23df9392102a4 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 18 Mar 2006 08:26:36 -0500 Subject: [PATCH] Fix documentation: BLOCK_FLAG_TRAVERSE should be BLOCK_FLAG_DEPTH_TRAVERSE Addresses Debian Bug #351268 Signed-off-by: "Theodore Ts'o" --- doc/ChangeLog | 6 ++++++ doc/libext2fs.texinfo | 2 +- lib/ext2fs/ChangeLog | 5 +++++ lib/ext2fs/ext2fs.h | 6 +++--- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 07241ae..81fffa3 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-03-18 Theodore Ts'o + + * libext2fs.texinfo (Iterating over blocks in an inode): Fix + BLOCK_FLAG_TRAVERSE so it is the correct + BLOCK_FLAG_DEPTH_TRAVERSE. (Addresses Debian Bug #351268) + 2006-06-30 Theodore Ts'o * Release of E2fsprogs 1.38 diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index 0883539..fb8bc9b 100644 --- a/doc/libext2fs.texinfo +++ b/doc/libext2fs.texinfo @@ -516,7 +516,7 @@ blocks where the block number is zero (also known as ``holes''.) It is also known as BLOCK_FLAG_APPEND, since it is also used by functions such as ext2fs_expand_dir() to add a new block to an inode. -@item BLOCK_FLAG_TRAVERSE +@item BLOCK_FLAG_DEPTH_TRAVERSE This flag indicates that the iterator function for the indirect, doubly indirect, etc. blocks should be called after all of the blocks containined in the indirect blocks are processed. diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index afcd5a1..857cdf0 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,8 @@ +2006-03-18 Theodore Ts'o + + * ext2fs.h: Fix documentation so that BLOCK_FLAG_TRAVERSE is + BLOCK_FLAG_DEPTH_TRAVERSE. (Addresses Debian Bug #351268) + 2006-03-17 Theodore Ts'o * initialize.c (calc_reserved_gdt_blocks): Fix a signed vs diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index fd99c3e..809b602 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -269,9 +269,9 @@ struct struct_ext2_filsys { * to an inode. It can also be used for programs that want to be able * to deal with files that contain "holes". * - * BLOCK_FLAG_TRAVERSE indicates that the iterator function for the - * indirect, doubly indirect, etc. blocks should be called after all - * of the blocks containined in the indirect blocks are processed. + * BLOCK_FLAG_DEPTH_TRAVERSE indicates that the iterator function for + * the indirect, doubly indirect, etc. blocks should be called after + * all of the blocks containined in the indirect blocks are processed. * This is useful if you are going to be deallocating blocks from an * inode. * -- 1.8.3.1