ext4: add ioctls to get/set the ext4 superblock uuid
authorJeremy Bongio <bongiojp@gmail.com>
Thu, 21 Jul 2022 22:44:22 +0000 (15:44 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Aug 2022 03:56:26 +0000 (23:56 -0400)
commitd95efb14c0b81b684deb32ba10cdb78b4178ae5b
treedc535f856a9dad220ccfa28f75d8f354e8c724bc
parent69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd
ext4: add ioctls to get/set the ext4 superblock uuid

This fixes a race between changing the ext4 superblock uuid and operations
like mounting, resizing, changing features, etc.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jeremy Bongio <bongiojp@gmail.com>
Link: https://lore.kernel.org/r/20220721224422.438351-1-bongiojp@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ioctl.c