diff options
author | robi <robi> | 2011-12-16 20:10:38 +0000 |
---|---|---|
committer | robi <robi> | 2011-12-16 20:10:38 +0000 |
commit | be0c55229494231393ae0f122cac8d19753d6804 (patch) | |
tree | 2a24350baffbeab4b2896261d0c57e7cf6579c43 /src/recover.c | |
parent | ae69498e24734878c5b4116bbef0801312fc9b7d (diff) |
BUG #018427: support for libext2fs 1.41.x and 1.42.x
Diffstat (limited to 'src/recover.c')
-rw-r--r-- | src/recover.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/recover.c b/src/recover.c index 1c720ba..84e3b72 100644 --- a/src/recover.c +++ b/src/recover.c @@ -150,8 +150,8 @@ return ; // Subfunction for "local_block_iterate3()" for check if the blocks allocated - static int check_block(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, - blk_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) + static int check_block(ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, + blk64_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) { //FIXME: if (*blocknr >= fs->super->s_blocks_count) @@ -168,8 +168,8 @@ return 0; //Subfunction for "local_block_iterate3()" read a blocks of a long symlink -static int read_syslink_block ( ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, - blk_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) +static int read_syslink_block ( ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, + blk64_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) { char *charbuf =((struct privat*)priv)->buf; __u32 nbytes; @@ -199,8 +199,8 @@ return 0; //Subfunction for "local_block_iterate3()" for recover the blocks of a real file -static int write_block ( ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, - blk_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) +static int write_block ( ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, + blk64_t /*ref_blk*/x, int /*ref_offset*/y, void *priv ) { int fd = ((struct privat*)priv)->fd; char *charbuf =((struct privat*)priv)->buf; |