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 E691FC433EF for ; Mon, 28 Feb 2022 13:49:38 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id B57413CA297 for ; Mon, 28 Feb 2022 14:49:36 +0100 (CET) Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [IPv6:2001:4b78:1:20::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 86D543C0F97 for ; Mon, 28 Feb 2022 14:49:26 +0100 (CET) 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-4.smtp.seeweb.it (Postfix) with ESMTPS id 9B8DD1000DDA for ; Mon, 28 Feb 2022 14:49:25 +0100 (CET) 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 BC438219A9; Mon, 28 Feb 2022 13:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1646056164; 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=wDeE/Yi/mL7L8TfXrzx/Pq3pvrNyLGP92w5nKjH9BD4=; b=mxYOiXRWSqxRZ9mXVU065czbIcmzonEmEvqVUbfBH+qHKjIoXFdKDnTmexKvifmhxS7DKA O1wkb6a5dsgN/g7JzL+jDfkbTwHlvE590gy3xq+zkmYXmCkGdBjMP+kkZwrak44wE/f4sl 1qSQCB5PE/k4kdmLSrIR9mTr60CBftk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1646056164; 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=wDeE/Yi/mL7L8TfXrzx/Pq3pvrNyLGP92w5nKjH9BD4=; b=5BrnFxdHdMYFfFnjCG+hBFwxFdjrFfkJxb7uor3EKjWvrcC6r2sAcvwT7jyq0R5DM1JNUW U8/BVfPj6berHwBg== 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 79F1613ADA; Mon, 28 Feb 2022 13:49:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id r0JVGuTSHGIqTQAAMHmgww (envelope-from ); Mon, 28 Feb 2022 13:49:24 +0000 Date: Mon, 28 Feb 2022 14:49:21 +0100 From: Petr Vorel To: "xuyang2018.jy@fujitsu.com" Message-ID: References: <20220223153243.317-1-pvorel@suse.cz> <20220223153243.317-3-pvorel@suse.cz> <6216E3ED.1050700@fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6216E3ED.1050700@fujitsu.com> X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH 2/3] quotactl08: Use do_mount() 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: "ltp@lists.linux.it" 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 Petr > > to change > > quotactl08.c:160: TBROK: mount(/dev/loop0, mntpoint, ext4, 0, (nil)) failed: ESRCH (3) > I doubt why fs quota is not supported on this case since we have check > kernel config? I have no idea. And yes, the config contains CONFIG_QFMT_V2=m Kind regards, Petr > Best Regards > Yang Xu > > to TCONF if FS quota is not supported (the same fix as 4aab31e4c7). > > Signed-off-by: Petr Vorel > > --- > > testcases/kernel/syscalls/quotactl/quotactl08.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/testcases/kernel/syscalls/quotactl/quotactl08.c b/testcases/kernel/syscalls/quotactl/quotactl08.c > > index 3793867f23..9f54bebcc0 100644 > > --- a/testcases/kernel/syscalls/quotactl/quotactl08.c > > +++ b/testcases/kernel/syscalls/quotactl/quotactl08.c > > @@ -157,7 +157,7 @@ static void setup(void) > > quotactl_info(); > > SAFE_MKFS(tst_device->dev, tst_device->fs_type, fs_opts, NULL); > > - SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); > > + do_mount(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); > > mount_flag = 1; > > fd = SAFE_OPEN(MNTPOINT, O_RDONLY); -- Mailing list info: https://lists.linux.it/listinfo/ltp