Whamcloud - gitweb
tune2fs: Add support for get/set UUID ioctls.
authorJeremy Bongio <bongiojp@gmail.com>
Tue, 16 Aug 2022 20:52:14 +0000 (13:52 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Aug 2022 20:56:41 +0000 (16:56 -0400)
commita83e199da0ca954f7f0d63756d6eea108caf107f
treece6ae92b44c544fb173bbd2d4aa807929fa7da5e
parent915c3c1e0573632c057185a3153b03d9b04989a0
tune2fs: Add support for get/set UUID ioctls.

When mounted, there is a race condition between changing the filesystem
UUID and changing other aspects of the filesystem, like mounting, resizing,
changing features, etc. Using these ioctls to get/set the UUID ensures the
filesystem is not being resized.

Signed-off-by: Jeremy Bongio <bongiojp@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c