]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add metadata_uuid to FS_INFO ioctl
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 13 Jul 2020 12:29:00 +0000 (21:29 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:43 +0000 (12:55 +0200)
commit807e021ddd9c9fe6edc574c2ab1575bb9d8b34d0
tree4a50383d6c465d8e11d4838153c28382f35f1ddd
parent1f61e8e2502491c1b3441bc75fef108e4492f205
btrfs: add metadata_uuid to FS_INFO ioctl

Add retrieval of the filesystem's metadata UUID to the fsinfo ioctl.
This is driven by setting the BTRFS_FS_INFO_FLAG_METADATA_UUID flag in
btrfs_ioctl_fs_info_args::flags.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c
include/uapi/linux/btrfs.h