@@ -5,10 +5,8 @@
# FS QA Test No. btrfs/076
#
# Regression test for btrfs incorrect inode ratio detection.
-# This was fixed in the following linux kernel patch:
-#
-# Btrfs: fix incorrect compression ratio detection
#
+
. ./common/preamble
_begin_fstest auto quick compress
@@ -27,6 +25,8 @@ _cleanup()
_supported_fs btrfs
_require_test
_require_scratch
+_fixed_by_kernel_commit 4bcbb3325513 \
+ "Btrfs: fix incorrect compression ratio detection"
# An extent size can be up to BTRFS_MAX_UNCOMPRESSED
max_extent_size=$(( 128 << 10 ))
The fix commit is written in the comment without a commit hash. Use _fixed_by_kernel_commit command to describe it. Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> --- tests/btrfs/076 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)