btrfs: sysfs: show used checksum driver per filesystem
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 7 Oct 2019 09:11:04 +0000 (11:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 16:51:43 +0000 (17:51 +0100)
commit41e6d2a808ad89d34c662ba8dd1209c4fefb1416
treefc31a2b2c617bb36452b37c91530543a5e517996
parentf7cea56c0fff95bd5a6cd21b9fa299f66193b604
btrfs: sysfs: show used checksum driver per filesystem

Show the used driver for the checksum algorithm for the filesystem in
sysfs file /sys/fs/btrfs/UUID/features/checksum, eg.

  crc32c (crc32c-generic)

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c