summaryrefslogtreecommitdiff
path: root/resize/main.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-11-03 19:46:49 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-11-03 19:46:49 +0000
commit80c0fc3492278168448017e79730905aa5b9b62b (patch)
treeda9e69c17ffd625e25eecc6ba91c8bea68f9e93a /resize/main.c
parent08b213017f8371ce4b56ad4d368eb0f92211d04e (diff)
downloade2fsprogs-80c0fc3492278168448017e79730905aa5b9b62b.tar.gz
Many files:
resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include printf statements if RESIZE2FS_DEBUG is defined. main.c: Don't read in the bitmaps since resize2fs.c does that. e2label.c, mke2fs.c: Adjust header files.
Diffstat (limited to 'resize/main.c')
-rw-r--r--resize/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/resize/main.c b/resize/main.c
index b5e5a7fc..7765052b 100644
--- a/resize/main.c
+++ b/resize/main.c
@@ -104,13 +104,6 @@ void main (int argc, char ** argv)
printf ("Couldn't find valid filesystem superblock.\n");
exit (1);
}
- retval = ext2fs_read_bitmaps(fs);
- if (retval) {
- com_err (program_name, retval,
- "while trying to read the bitmaps", device_name);
- ext2fs_close (fs);
- exit (1);
- }
retval = resize_fs(fs, new_size, flags);
if (retval) {
com_err(program_name, retval, "while trying to resize %s",