]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
btrfs/076: use _fixed_by_kernel_commit to tell the fixing kernel commit
authorNaohiro Aota <naohiro.aota@wdc.com>
Fri, 15 Sep 2023 07:25:11 +0000 (16:25 +0900)
committerZorro Lang <zlang@kernel.org>
Wed, 20 Sep 2023 07:49:54 +0000 (15:49 +0800)
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>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/076

index 52fe9e88221c706c6c681c903ff6304cb0320c7f..23f9bd534a0ae182a6c86a4d2201da0685ac03ce 100755 (executable)
@@ -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 * 1024 ))