]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tune2fs: fix false warning that a UUID change will take a long time
authorTheodore Ts'o <tytso@mit.edu>
Sat, 24 Nov 2018 03:34:31 +0000 (22:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Nov 2018 03:47:08 +0000 (22:47 -0500)
commit0eeb17d0610fd512c1038dabb39370420ffb47a4
treeef3477562ce36687caa64a93afc5c78d0bc60ad0
parentb7bb80dc7033776149bb1f33c81a753fe21a2f89
tune2fs: fix false warning that a UUID change will take a long time

If the file system only has the flex_bg feature enabled (with out the
metadata_csum feature enabled), it won't take a long time time fix up
the checksums after changing the UUID.  While it does need to
recalculate all of the checksums in the block group descriptors, that
doesn't take a long time.

Also, if the ea_data feature is enabled, changing the UUID will also
take a long time, and we weren't warning the user about that case.

Fix up the warning message so it doesn't mislead people, and is more
accurate.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
tests/t_dangerous/expect
tests/t_dangerous/script