]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: don't needlessly byte swap the group descriptors in ext2fs_flush
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 00:17:26 +0000 (19:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 00:49:06 +0000 (19:49 -0500)
commitdf659444466bae4ea78807da2cf021c135103268
treec8d6dd2a7a3043b504bbc8d51dc049283606b4c3
parentc8651b4bf6b31c975d92c4c056b8a1bc25a41f9e
libext2fs: don't needlessly byte swap the group descriptors in ext2fs_flush

If the EXT2_FLAG_SUPER_ONLY is set, there's no reason to allocate the
shadow block group descriptors and byte swap the group descriptors.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/closefs.c