Re: [PATCH] fstests: don't test -o norecovery in btrfs/220

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



On Wed, Nov 22, 2023 at 5:16 PM Josef Bacik <josef@xxxxxxxxxxxxxx> wrote:
>
> This is a deprecated option and it's going away with the new mount api
> patches, so remove this from the test.
>
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Reviewed-by: Filipe Manana <fdmanana@xxxxxxxx>

Makes sense, thanks.

> ---
>  tests/btrfs/220 | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/tests/btrfs/220 b/tests/btrfs/220
> index b092f40b..60b42b6a 100755
> --- a/tests/btrfs/220
> +++ b/tests/btrfs/220
> @@ -212,20 +212,14 @@ test_non_revertible_options()
>         # nologreplay should be used only with readonly
>         test_should_fail "nologreplay"
>
> -       # norecovery should be used only with readonly.
> -       # This options is an alias to nologreplay
> -       test_should_fail "norecovery"
> -
>         if [ "$enable_rescue_nologreplay" = true ]; then
>                 #rescue=nologreplay should be used only with readonly
>                 test_should_fail "rescue=nologreplay"
>
>                 test_mount_opt "nologreplay,ro" "ro,rescue=nologreplay"
> -               test_mount_opt "norecovery,ro" "ro,rescue=nologreplay"
>                 test_mount_opt "rescue=nologreplay,ro" "ro,rescue=nologreplay"
>         else
>                 test_mount_opt "nologreplay,ro" "ro,nologreplay"
> -               test_mount_opt "norecovery,ro" "ro,nologreplay"
>         fi
>
>         test_mount_opt "rescan_uuid_tree" "rescan_uuid_tree"
> --
> 2.41.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