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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Fri, Sep 15, 2023 at 8:28 AM Naohiro Aota <naohiro.aota@xxxxxxx> 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@xxxxxxx>

Looks good,

Reviewed-by: Filipe Manana <fdmanana@xxxxxxxx>

> ---
>  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
>




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux