Package: e2fsprogs
Version: 1.36release-1
Severity: normal

It seems that the blocks which are contained in indirect blocks are no
longer printed.  I was told that this was different a few years ago.

The following patch should change this (but I'm not really sure what I'm
doing).

--- e2fsprogs-1.36.orig/debugfs/debugfs.c       2004-12-06 23:45:50.000000000 
+0100
+++ e2fsprogs-1.36/debugfs/debugfs.c    2005-03-08 18:00:45.000000000 +0100
@@ -411,7 +411,7 @@
        lb.first_block = 0;
        lb.f = f;
        lb.first = 1;
-       ext2fs_block_iterate2(current_fs, inode, 0, NULL,
+       ext2fs_block_iterate2(current_fs, inode, BLOCK_FLAG_DEPTH_TRAVERSE, 
NULL,
                             list_blocks_proc, (void *)&lb);
        finish_range(&lb);
        if (lb.total)


Note that BLOCK_FLAG_DEPTH_TRAVERSE is sometimes referenced as
BLOCK_FLAG_TRAVERSE.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to