commit | 56f20f4009d3c0b2e6165d9136fed40028c8225d | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Mon Nov 19 17:37:45 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:37 2018 +0100 |
tree | 662c1fa61cb05beacff9db9b545f71e6b28f0878 | |
parent | 7239ff4b2be8ec0c3160da7fdd1475785fdb4cb9 [diff] |
btrfs: Add sysfs support for metadata_uuid feature Since the metadata_uuid is a new incompat feature it requires the respective sysfs hooks. This patch adds the 'metdata_uuid' feature to be shown if it supported by the kernel. Additionally it adds /sys/fs/btrfs/UUID/metadata_uuid attribute which allows one to read the current metadata_uuid. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>