Whamcloud - gitweb
tune2fs: only set the superblock as dirty if the default group is modified
authorGwendal Grignou <gwendal@chromium.org>
Thu, 18 Jul 2024 17:52:04 +0000 (10:52 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Oct 2024 02:07:55 +0000 (22:07 -0400)
commit2c1e5543169254863e0edc40bd35712e21073479
tree4381ee101bfa71e1b4a56045d72f93fdd37f3212
parent9448aedd93521deb038f64ba16eff574628f0632
tune2fs: only set the superblock as dirty if the default group is modified

Similar to commit 2eb3b20e80, it speeds up `tunefs -g` command when
the group argument is identical.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20240718175204.1590917-1-gwendal@chromium.org
misc/tune2fs.c