Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1668128pxb; Thu, 28 Oct 2021 07:57:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynucXloMXhrlY7B838kGfJMjFPb7EQ5cXFrTLpt/8M4J1bp+BZ/dXvqXPXZCMkXuE7w96i X-Received: by 2002:a17:902:a60f:b0:141:8996:3fe with SMTP id u15-20020a170902a60f00b00141899603femr3626123plq.71.1635433024663; Thu, 28 Oct 2021 07:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635433024; cv=none; d=google.com; s=arc-20160816; b=k0KH1Hs6zamTMQae1ToYV7JiG0xyF4lgwhgAhIKNAwjsEGMvbn+cAHyFHxgKO2RPoq z/IcilAiTif5eJkCB1QaDevapKZlXdLgwJJ6p7O4DU9zKFyuMHC9SRmeSFop7Fhw2IF+ t6aSInwO5HwFhOeK5TrykDItqeawHnOKhEdwWy2zA0upDeG23rO+MIFFzPZoFb1CresM CwVk/W2yxhPnu0Vep69XkFBh9SCKefx7A59bzYkhojfpwfpMwRXSe16847Rkcy4izkqz 1JIXaUxddK6CusDmYfO5DzTQkPBmpzX15h8ISMNEtT3Q12Vi2zyeI7647btIXVl0u2Rs 8Gkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=nPVkaG0RxgYL+6BrTTMNvXjetaU17++i6i5uyArkbN8=; b=YqztvjMbmW5QpIOq998MKriv+mgl5ArJDy0yCGGp8Gp5W5TVnlh0uikxTOu26e73GM fdzWHNbmGHwGK3rHlZWzbXE80ZaWmikoNlPVDYx4NEw8amDZzyME9EFglKHkN6ZI0QBw IxtP2izbD0DdgOtXwU1JLSgSf6M9XNpZfv7MJt7OsuuNztoRLBTU5hApTveCYm69S5kU wIODvt111r0e2dXd8+gLg8Z/QYG+uOIWzFwEF8llx+De12dNBUa3eIZQ6InA/L9O0WzE uo3ae1MJarKHmjY6ZEbsQkpg+lIB2g/8Cc/qmeRKItjC/Y5A3MpW69Urm/TpS+MgfDq8 8GAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si4003575pju.90.2021.10.28.07.56.51; Thu, 28 Oct 2021 07:57:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231133AbhJ1O7P (ORCPT + 99 others); Thu, 28 Oct 2021 10:59:15 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:39324 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230406AbhJ1O7P (ORCPT ); Thu, 28 Oct 2021 10:59:15 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 19SEudCa003679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Oct 2021 10:56:40 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 4BBF415C00B9; Thu, 28 Oct 2021 10:56:39 -0400 (EDT) From: "Theodore Ts'o" To: Austin Kim , adilger.kernel@dilger.ca Cc: "Theodore Ts'o" , linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, austin.kim@lge.com Subject: Re: [PATCH] ext4: remove an unused variable warning with CONFIG_QUOTA=n Date: Thu, 28 Oct 2021 10:56:34 -0400 Message-Id: <163543290989.1895911.203055160584231569.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210824034929.GA13415@raspberrypi> References: <20210824034929.GA13415@raspberrypi> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, 24 Aug 2021 04:49:29 +0100, Austin Kim wrote: > The 'enable_quota' variable is only used in an CONFIG_QUOTA. > With CONFIG_QUOTA=n, compiler causes a harmless warning: > > fs/ext4/super.c: In function ‘ext4_remount’: > fs/ext4/super.c:5840:6: warning: variable ‘enable_quota’ set but not used > [-Wunused-but-set-variable] > int enable_quota = 0; > ^~~~~ > > [...] Applied, thanks! [1/1] ext4: remove an unused variable warning with CONFIG_QUOTA=n commit: d94ca0e1d65f4c274e3425a35f23ffe58ecea18a Best regards, -- Theodore Ts'o