commit | 6f3970f4a731a73d8534e1b21d866d25a1b9122f | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Jul 23 10:58:44 2019 +0200 |
committer | Johannes Thumshirn <jthumshirn@suse.de> | Tue Aug 27 10:33:06 2019 +0200 |
tree | b2887b58896f5618e98a5b03bd0a16417687d2a7 | |
parent | 9405ae9b7d039dcccf099175671419445f36ecbe [diff] |
btrfs: sysfs: export supported checksums Export supported checksum algorithms via sysfs. Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Nikolay Borisov <nborisov@suse.com> --- Changes to v2: - Prevent possible overflow of sysfs attribute Changes to v1: - Removed btrfs_checksums_store() function (Nik) - Renamed sysfs file to supported_checksums