diff options
author | Valerie Aurora Henson <vaurora@redhat.com> | 2009-09-07 21:14:24 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-09-07 21:14:24 -0400 |
commit | 24a117abd0340d247befbf7687ffb70547fdf218 (patch) | |
tree | f6d4e49d2bd22e08316d08185c798eeea868fc2a /debugfs | |
parent | d62d218f118863322742093ceb938bcac6093f80 (diff) | |
download | e2fsprogs-24a117abd0340d247befbf7687ffb70547fdf218.tar.gz |
Convert to use io_channel_read_blk64() and io_channel_write_blk64()
Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
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; |