2016-10-07 09:23:00 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Check whether btrfs check quota verify will cause stack overflow.
|
|
|
|
# This is caused by lack of handling of tree reloc tree.
|
|
|
|
# Fixed by patch:
|
|
|
|
# btrfs-progs: Fix stack overflow for checking qgroup on tree reloc tree
|
|
|
|
|
2023-04-19 17:08:41 +02:00
|
|
|
source "$TEST_TOP/common" || exit
|
2016-10-07 09:23:00 +02:00
|
|
|
|
|
|
|
check_prereq btrfs
|
|
|
|
|
|
|
|
check_image()
|
|
|
|
{
|
2017-04-24 15:29:40 +02:00
|
|
|
run_check "$TOP/btrfs" check "$1"
|
2016-10-07 09:23:00 +02:00
|
|
|
}
|
|
|
|
|
2016-11-18 19:21:02 +01:00
|
|
|
check_all_images
|