Whamcloud - gitweb
Fix stupid typo in previous changeset.
authorTheodore Ts'o <tytso@mit.edu>
Fri, 16 Aug 2002 21:07:06 +0000 (17:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Aug 2002 21:07:06 +0000 (17:07 -0400)
debugfs/icheck.c
resize/resize2fs.c

index 75044a6..c08d558 100644 (file)
@@ -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;
                }
index 042e562..4dd2b33 100644 (file)
@@ -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;