# Create a sprout filesystem (an rw device on top of a seed device)
# Dump 'btrfs filesystem usage', check it didn't fail
#
-# Tests btrfs-progs bug fixed by the kernel patch and a btrfs-prog patch
-# btrfs: sysfs add devinfo/fsid to retrieve fsid from the device
-# btrfs-progs: read fsid from the sysfs in device_is_seed
. ./common/preamble
_begin_fstest auto quick seed volume
_require_scratch_dev_pool 3
_require_command "$WIPEFS_PROG" wipefs
_require_btrfs_forget_or_module_loadable
+_wants_kernel_commit a26d60dedf9a \
+ "btrfs: sysfs: add devinfo/fsid to retrieve actual fsid from the device"
+_fixed_by_git_commit btrfs-progs xxxxxxxxxxxx \
+ "btrfs-progs: read fsid from the sysfs in device_is_seed"
_scratch_dev_pool_get 2
# use the scratch devices as seed devices