Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1644667ybb; Sun, 29 Mar 2020 09:48:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsQQcwjEAZJ0VP2lY1kBcts7rV+nfIy9xygFMphR82knvC7dFdneDvlkkFdzRzULOlH8F2Y X-Received: by 2002:a05:6830:16cc:: with SMTP id l12mr6361426otr.172.1585500526191; Sun, 29 Mar 2020 09:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585500526; cv=none; d=google.com; s=arc-20160816; b=WKBGBgHN6XIR3/AGkyKPu9uSUoVMxKPctw8hFMg3KNkwDPK94jLWdpRzNNyQcmb7Ti mbCzjIJsZ/Seduu1LH4GyLPpF1HxnqZhQ3cnMkeYGfLn4Sov2xq3HnkGEFZd5nbPwFBM VHry48mTJtdvka5H2e0dWapz/uyd7ij19LkmsVkmUdlkBKdBU3+bzPp3U63bjWdUv78k oLYBnUwsANvB6HIs630nxDtW2gsvuTnv4OtM4eHt31/yLK1WtBKBD8L9YctSyZcBqTHB 6nCkbfOitVbtOraGJrM+pmv7HHF3wMNMKdHbjrqqQts68EtabHrcb3iXaVDDr5PKaVbT CmJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Z/WDv7wptLNm+8Ybllv6kGLFuX1ypys7DGPU6MzCqd4=; b=ejAYPIjOUvu3Eshb9SX35F04TMr4SENSEU0yQaIJHFiorMfdx2Pp4Pm8Ms1I1zwLpS V7h0PlLiM8phBf9KRWqqk3KvhyOleVxNxY23MdNtFt2UVgZFkdpHtS4mKCdK5AFEXfBz xOgkbmX8s0RHbvkoRub4IVvwmeeFbX9O6MWalTpwCxFynBDohrpDvcFnMOtfPhNuaQZY bpO2vZLCdvwoAoHIuVpjIjcSS5+3rZQnZ+OYliA0znoPKBsgTeYOZwj27fDsMbbOtske b7Iq9ruFlNONJNz0DJukbBJwgVFuWDsALufjHCQ1Xu5s4Zou12i0/aNmWIt/s7kyfV66 b9Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si4971073otk.154.2020.03.29.09.48.21; Sun, 29 Mar 2020 09:48:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728329AbgC2QpD (ORCPT + 99 others); Sun, 29 Mar 2020 12:45:03 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:37355 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727903AbgC2QpD (ORCPT ); Sun, 29 Mar 2020 12:45:03 -0400 Received: from callcc.thunk.org (pool-72-93-95-157.bstnma.fios.verizon.net [72.93.95.157]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 02TGit5e008654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 29 Mar 2020 12:44:55 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 0AD33420EBA; Sun, 29 Mar 2020 12:44:55 -0400 (EDT) Date: Sun, 29 Mar 2020 12:44:54 -0400 From: "Theodore Y. Ts'o" To: Andreas Dilger Cc: Josh Triplett , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Dilger Subject: Re: [PATCH] ext4: Fix incorrect group count in ext4_fill_super error message Message-ID: <20200329164454.GN53396@mit.edu> References: <20200329024709.GK53396@mit.edu> <471D6886-24DF-4AC2-A5F2-DBE7C2B97AE8@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <471D6886-24DF-4AC2-A5F2-DBE7C2B97AE8@dilger.ca> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, Mar 28, 2020 at 10:36:07PM -0600, Andreas Dilger wrote: > You missed the v2 patch, which was better IMHO. I saw the V2 patch, but the it will print the 32-bit truncated block count, and it's possible if things are really insane, the number of block groups calculated will be > 2**32. In which case the V1 patch with the format string adjusted will print a less confusing message. e.g.: groups count too large: 8589934634 .... as opposed to: groups count too large: 42 .... - Ted