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>
1 file changed