From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F836ECAAA1 for ; Mon, 12 Sep 2022 11:21:37 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 22A243CAAD7 for ; Mon, 12 Sep 2022 13:21:35 +0200 (CEST) Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id A93F83C0475 for ; Mon, 12 Sep 2022 13:21:25 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id 0A86E60071A for ; Mon, 12 Sep 2022 13:21:24 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4A55D22482; Mon, 12 Sep 2022 11:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1662981684; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yXZhgkr4Z8bt+JZCTdEyAlkWt5xoznp4foeE0Rt2Hb0=; b=JNzW2sXiGqIJKRmIjjEnTlDXUHfn+syzAgskQXqsVwJUV2iypow5kXUhzbF0Ejjlo9X6fS LaLL6GWKdFEMMN0Hho4gF76AF0xUIB46VjwN9JyMzDP5iMAk8tehU438/s7mY37+K9bUZw la+/RtlbgdGOjR6VLBdiMVQs1ASpdek= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1662981684; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yXZhgkr4Z8bt+JZCTdEyAlkWt5xoznp4foeE0Rt2Hb0=; b=0GKQenwNGIViye/cUpdrg6x1b3SMB7bb7JiGya+MMwYsBYZ/ZCAWurVlF2f0UAw9ICKTG1 2traQ2WiwtAYDWCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D6EBE139E0; Mon, 12 Sep 2022 11:21:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id vtspMTMWH2OXdgAAMHmgww (envelope-from ); Mon, 12 Sep 2022 11:21:23 +0000 Date: Mon, 12 Sep 2022 13:21:21 +0200 From: Petr Vorel To: ltp@lists.linux.it Message-ID: References: <20220909141840.18327-1-pvorel@suse.cz> <20220909141840.18327-6-pvorel@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220909141840.18327-6-pvorel@suse.cz> X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v5 05/10] tst_supported_fs: Support skip list when query single fs X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: Richard Palethorpe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi all, thread for v4 [1] [2] should have been for v5. Therefore repeat here there will be diff below: FYI if anybody wants to test v5 with this fix, it's in my fork in branch shell/all_filesystems.v5.fixes [3] Kind regards, Petr [1] https://lore.kernel.org/ltp/5e01e854-7cc6-7b08-d1f8-7f0709fbc07d@suse.cz/ [2] https://lore.kernel.org/ltp/Yx7GPOsudkoRn5Nd@pevik/ [3] https://github.com/pevik/ltp/commits/shell/all_filesystems.v5.fixes diff --git lib/tst_supported_fs_types.c lib/tst_supported_fs_types.c index 35ec82071..80d0d163a 100644 --- lib/tst_supported_fs_types.c +++ lib/tst_supported_fs_types.c @@ -138,17 +138,10 @@ enum tst_fs_impl tst_fs_is_supported(const char *fs_type) enum tst_fs_impl tst_fs_is_supported_skiplist(const char *fs_type, const char *const *skiplist) { - int ret; - - ret = tst_fs_is_supported(fs_type); - - if (!ret) - return ret; - if (tst_fs_in_skiplist(fs_type, skiplist)) return TST_FS_UNSUPPORTED; - return ret; + return tst_fs_is_supported(fs_type); } const char **tst_get_supported_fs_types(const char *const *skiplist) -- Mailing list info: https://lists.linux.it/listinfo/ltp