btrfs: sysfs: export supported send stream version
authorOmar Sandoval <osandov@fb.com>
Fri, 21 Aug 2020 07:39:54 +0000 (00:39 -0700)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:17 +0000 (12:13 +0200)
commit7573df5547c00f067e4c0b2fd7cc99f3d3a2bda7
tree40f8b8e59ea13c10fa27abaafc8264cfb37161c3
parentc9a949af13d6d8983de086d9ecbf34c4c94da73e
btrfs: sysfs: export supported send stream version

This reports the latest send stream version supported by the kernel as
the feature in /sys/fs/btrfs/features/send_stream_version .

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c