]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: export supported checksums
authorDavid Sterba <dsterba@suse.com>
Mon, 7 Oct 2019 09:11:03 +0000 (11:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 16:51:43 +0000 (17:51 +0100)
commit96375e97a2955d9a02622588e2053bfb3982e32a
treee59752010527d9314d500aec9542f17c98279092
parentf901471a5d19e6fd31e917a5adc89b3751b486e2
btrfs: sysfs: export supported checksums

Export supported checksum algorithms via sysfs in the list of static
features:

  /sys/fs/btrfs/features/supported_checksums

Space spearated list of checksum algorithm names.

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