diff options
Diffstat (limited to 'debugfs')
-rw-r--r-- | debugfs/htree.c | 8 | ||||
-rw-r--r-- | debugfs/unused.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/debugfs/htree.c b/debugfs/htree.c index 77dc88bc..36fdb0e3 100644 --- a/debugfs/htree.c +++ b/debugfs/htree.c @@ -177,7 +177,7 @@ static void htree_dump_int_block(ext2_filsys fs, ext2_ino_t ino, goto errout; } - errcode = io_channel_read_blk(current_fs->io, pblk, 1, buf); + errcode = io_channel_read_blk64(current_fs->io, pblk, 1, buf); if (errcode) { com_err("htree_dump_int_block", errcode, "while reading block %u\n", blk); @@ -261,8 +261,8 @@ void do_htree_dump(int argc, char *argv[]) goto errout; } - errcode = io_channel_read_blk(current_fs->io, blk, - 1, buf); + errcode = io_channel_read_blk64(current_fs->io, blk, + 1, buf); if (errcode) { com_err(argv[0], errcode, "Error reading root node"); goto errout; @@ -401,7 +401,7 @@ static int search_dir_block(ext2_filsys fs, blk_t *blocknr, p = (struct process_block_struct *) priv_data; - errcode = io_channel_read_blk(current_fs->io, *blocknr, 1, p->buf); + errcode = io_channel_read_blk64(current_fs->io, *blocknr, 1, p->buf); if (errcode) { com_err("search_dir_block", errcode, "while reading block %lu", (unsigned long) *blocknr); diff --git a/debugfs/unused.c b/debugfs/unused.c index 15837fa9..601b065b 100644 --- a/debugfs/unused.c +++ b/debugfs/unused.c @@ -39,7 +39,7 @@ void do_dump_unused(int argc EXT2FS_ATTR((unused)), char **argv) blk < current_fs->super->s_blocks_count; blk++) { if (ext2fs_test_block_bitmap2(current_fs->block_map,blk)) continue; - retval = io_channel_read_blk(current_fs->io, blk, 1, buf); + retval = io_channel_read_blk64(current_fs->io, blk, 1, buf); if (retval) { com_err(argv[0], retval, "While reading block\n"); return; |