summaryrefslogtreecommitdiff
path: root/lib/ext2fs/mkjournal.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-08-05 20:31:09 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-08-05 20:31:09 -0400
commit89a6ebd524891f332aad8ca0281935159ddc1217 (patch)
treec8ec7c3b1acf39102d0b945f66bab8894afbd3c8 /lib/ext2fs/mkjournal.c
parent888b29d14b314eb150b0de010c63c0520cc53f87 (diff)
downloade2fsprogs-89a6ebd524891f332aad8ca0281935159ddc1217.tar.gz
Performance enhancements to speed up creating a journal and
block and inode allocation in general.
Diffstat (limited to 'lib/ext2fs/mkjournal.c')
-rw-r--r--lib/ext2fs/mkjournal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ext2fs/mkjournal.c b/lib/ext2fs/mkjournal.c
index 1ba30b2d..606501d7 100644
--- a/lib/ext2fs/mkjournal.c
+++ b/lib/ext2fs/mkjournal.c
@@ -179,6 +179,7 @@ static int mkjournal_proc(ext2_filsys fs,
return BLOCK_ABORT;
}
*blocknr = new_blk;
+ last_blk = new_blk;
ext2fs_mark_block_bitmap(fs->block_map, new_blk);
ext2fs_mark_bb_dirty(fs);
group = ext2fs_group_of_blk(fs, new_blk);