From patchwork Thu Oct 22 18:49:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goldwyn Rodrigues X-Patchwork-Id: 11851807 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14B9D14B2 for ; Thu, 22 Oct 2020 18:49:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC0C024630 for ; Thu, 22 Oct 2020 18:49:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2902360AbgJVSt2 (ORCPT ); Thu, 22 Oct 2020 14:49:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:49020 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2900128AbgJVSt2 (ORCPT ); Thu, 22 Oct 2020 14:49:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 18D7EAD2D for ; Thu, 22 Oct 2020 18:49:27 +0000 (UTC) Date: Thu, 22 Oct 2020 13:49:24 -0500 From: Goldwyn Rodrigues To: fstests@vger.kernel.org Subject: [PATCH] common/config: Allow environment defined btrfs mkfs options Message-ID: <20201022184924.42kt4pqgngfclc6x@fiona> MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org btrfs does not have options of defining mkfs options via the environment. Use BTRFS_MKFS_OPTIONS environment variable to set MKFS_OPTIONS for btrfs. Signed-off-by: Goldwyn Rodrigues Reviewed-by: Filipe Manana --- common/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/config b/common/config index 285b7d1f..d83dfb28 100644 --- a/common/config +++ b/common/config @@ -410,6 +410,9 @@ _mkfs_opts() f2fs) export MKFS_OPTIONS="$F2FS_MKFS_OPTIONS" ;; + btrfs) + export MKFS_OPTIONS="$BTRFS_MKFS_OPTIONS" + ;; *) ;; esac