]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/pass2.c
e2fsck: optimize away repeated calls to gettext()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 14 Dec 2019 04:30:53 +0000 (23:30 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 14 Dec 2019 04:30:53 +0000 (23:30 -0500)
commitc4e7324243f4a2104ecccc211f600b9369a96b49
tree57c23cb1c09444793efcbc03ce4e9848447f151a
parent1f0f27059a50d38cec69c7120b9f7a3045838792
e2fsck: optimize away repeated calls to gettext()

Optimize _("getting next inode from scan") so it is not called for
each initialized inode in the file system, and make a similar
optimization in pass 2 for each directory block.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/pass2.c