diff options
author | fishsoupisgood <github@madingley.org> | 2018-05-14 02:40:06 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2018-05-14 02:40:06 +0100 |
commit | ec9eb54d2f36f9c98607b5fc8745f978cfebd63e (patch) | |
tree | e8570d2f581d844ce24d02eb9d89bdd156d3cd2c /src/zap_inode.c | |
parent | b8e2bb419265d10c11fc5840aabce81379bb242d (diff) | |
download | ext_clone-ec9eb54d2f36f9c98607b5fc8745f978cfebd63e.tar.gz ext_clone-ec9eb54d2f36f9c98607b5fc8745f978cfebd63e.tar.bz2 ext_clone-ec9eb54d2f36f9c98607b5fc8745f978cfebd63e.zip |
support non extents and fast symlinks
Diffstat (limited to 'src/zap_inode.c')
-rw-r--r-- | src/zap_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zap_inode.c b/src/zap_inode.c index f40a16b..f31af19 100644 --- a/src/zap_inode.c +++ b/src/zap_inode.c @@ -1,8 +1,8 @@ #include "project.h" -static int clear_blocks (ext2_filsys fs, blk_t *b_num, +static int clear_blocks (ext2_filsys fs, blk64_t *b_num, e2_blkcnt_t blockcnt, - blk_t ref_block, + blk64_t ref_block, int ref_offset, void *priv_data) { @@ -21,7 +21,7 @@ int zap_inode (ext2_filsys fs, ext2_ino_t i_num, struct ext2_inode *i) printf ("clearing already used inode %d\n", (int) i_num); - EXT2_MOAN_FAIL (ret, ext2fs_block_iterate2 (fs, i_num, BLOCK_FLAG_DEPTH_TRAVERSE, 0, clear_blocks, NULL)); + EXT2_MOAN_FAIL (ret, ext2fs_block_iterate3 (fs, i_num, BLOCK_FLAG_DEPTH_TRAVERSE, 0, clear_blocks, NULL)); if (ret) return -1; |