diff mbox series

[v2,2/2] btrfs/076: use _fixed_by_kernel_commit to tell the fixing kernel commit

Message ID d975ad16c184649e89c57dedcb85064cb385ca47.1694762532.git.naohiro.aota@wdc.com (mailing list archive)
State New, archived
Headers show
Series btrfs/076: fix failure on device with small zone_append_max_bytes | expand

Commit Message

Naohiro Aota Sept. 15, 2023, 7:25 a.m. UTC
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(-)

Comments

Filipe Manana Sept. 15, 2023, 9:17 a.m. UTC | #1
On Fri, Sep 15, 2023 at 8:28 AM Naohiro Aota <naohiro.aota@wdc.com> wrote:
>
> 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>

Looks good,

Reviewed-by: Filipe Manana <fdmanana@suse.com>

> ---
>  tests/btrfs/076 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/btrfs/076 b/tests/btrfs/076
> index a5cc3eb96b2f..dbb67bd1c241 100755
> --- a/tests/btrfs/076
> +++ b/tests/btrfs/076
> @@ -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 ))
> --
> 2.42.0
>
diff mbox series

Patch

diff --git a/tests/btrfs/076 b/tests/btrfs/076
index a5cc3eb96b2f..dbb67bd1c241 100755
--- a/tests/btrfs/076
+++ b/tests/btrfs/076
@@ -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 ))