diff options
author | Theodore Ts'o <tytso@mit.edu> | 2001-08-05 20:31:09 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2001-08-05 20:31:09 -0400 |
commit | 89a6ebd524891f332aad8ca0281935159ddc1217 (patch) | |
tree | c8ec7c3b1acf39102d0b945f66bab8894afbd3c8 /lib/ext2fs/mkjournal.c | |
parent | 888b29d14b314eb150b0de010c63c0520cc53f87 (diff) | |
download | e2fsprogs-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.c | 1 |
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); |