mirror of https://github.com/vitalif/e2fsprogs
Fix stupid typo in previous changeset.
parent
ed909bbe20
commit
0ccd488a76
|
@ -110,7 +110,8 @@ void do_icheck(int argc, char **argv)
|
|||
goto next;
|
||||
|
||||
if (inode.i_file_acl) {
|
||||
icheck_proc(fs, &inode.i_file_acl, 0, 0, 0, &bw);
|
||||
icheck_proc(current_fs, &inode.i_file_acl, 0,
|
||||
0, 0, &bw);
|
||||
if (bw.blocks_left == 0)
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -941,7 +941,7 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
|
|||
int group;
|
||||
char *block_buf = 0;
|
||||
ext2_ino_t start_to_move;
|
||||
blk_t orig_size;
|
||||
blk_t orig_size, new_block;
|
||||
|
||||
if ((rfs->old_fs->group_desc_count <=
|
||||
rfs->new_fs->group_desc_count) &&
|
||||
|
@ -998,8 +998,8 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
|
|||
pb.is_dir = LINUX_S_ISDIR(inode.i_mode);
|
||||
pb.changed = 0;
|
||||
|
||||
if (inode.i_file.acl && rfs->bmap) {
|
||||
new_block = ext2fs_extent_translate(pb->rfs->bmap,
|
||||
if (inode.i_file_acl && rfs->bmap) {
|
||||
new_block = ext2fs_extent_translate(rfs->bmap,
|
||||
inode.i_file_acl);
|
||||
if (new_block) {
|
||||
inode.i_file_acl = new_block;
|
||||
|
|
Loading…
Reference in New Issue