Re: [PATCH] btrfs/318: add _require_loop

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



On Thu, Oct 10, 2024 at 04:36:25PM +0100, Mark Harmstone wrote:
> btrfs/318 uses loopback devices, but was missing a call to _require_loop
> to print the correct message if CONFIG_LOOP is not set.
> 
> Signed-off-by: Mark Harmstone <maharmstone@xxxxxx>
> ---
>  tests/btrfs/318 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/btrfs/318 b/tests/btrfs/318
> index 79977276..df5a4a07 100755
> --- a/tests/btrfs/318
> +++ b/tests/btrfs/318
> @@ -18,6 +18,7 @@ _fixed_by_kernel_commit 9f7eb8405dcb \
>  _require_test
>  _require_command "$PARTED_PROG" parted
>  _require_batched_discard "$TEST_DIR"
> +_require_loop

Sure, this case need loop device.

Reviewed-by: Zorro Lang <zlang@xxxxxxxxxx>

>  
>  _cleanup() {
>  	cd /
> -- 
> 2.44.2
> 
> 





[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