projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28736c3
)
mkfs_ext2: shrink
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Oct 2009 07:57:39 +0000
(09:57 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Oct 2009 07:57:39 +0000
(09:57 +0200)
function old new delta
mkfs_ext2_main 1924 1904 -20
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mkfs_ext2.c
patch
|
blob
|
history
diff --git
a/util-linux/mkfs_ext2.c
b/util-linux/mkfs_ext2.c
index 6b059d9ff4d016c393d3a5fb2bfd1130ed4c9cf8..8df9f1a66c80713e93952df7b78def1c0dceafed 100644
(file)
--- a/
util-linux/mkfs_ext2.c
+++ b/
util-linux/mkfs_ext2.c
@@
-283,7
+283,6
@@
int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv)
nblocks = xatou(argv[1]);
} else {
nblocks = ((uoff_t)xlseek(fd, 0, SEEK_END)) / blocksize;
- xlseek(fd, 0, SEEK_SET);
}
sb->s_blocks_count = nblocks;
@@
-414,7
+413,6
@@
int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv)
);
// dump inode bitmap
PUT((pos + overhead + 1) * blocksize, buf, blocksize);
-
}
// zero boot sectors