Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2915798yba; Sun, 28 Apr 2019 12:09:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAAMeFP5+45IlMIFAT29rpdTWUd051VHbqac3QrdpaD1ryuealH8vQuBcAJoqbp5j06CRV X-Received: by 2002:aa7:8383:: with SMTP id u3mr15972525pfm.245.1556478597009; Sun, 28 Apr 2019 12:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556478597; cv=none; d=google.com; s=arc-20160816; b=mZRW3ZlEi5O9qNG/UpQyoA1rfmu6xQC2sX1lFEBcyhyIYaVvNF/YDztXXIXVwYLsUR iWlDBSDNv8mYpPIo8mdoISiBeUURzgV4vybDmgM67kIzgaCJ5KktHjKPTQ63q6TSrVx6 rFAm1997uNomn4tEoBkfwKFQJCiHinWW+9A/kXZldSNTHVp1qb5nFGX8b7KHNe2m80PM j9KxtqOs4sZL3Qx9SNgTEKsUA9FukeNMfxjvXzFRb1o5CnR3ULpQvuTAt+h2bgvRddLI GQSb43HLCWkzZdanN2ml6gVS5mbBqtjNGXtMjcDFuVXA6IsPKaZT4SzUMKNtMJFmPp94 u6wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+mfLL/m33FVXFKf2i+KeQ3gK8Rqb5SqO943QzowQWYE=; b=0/uphz2zF8wHBxlc/Q8EBySJHdCtjdpDQ9lAf9bDIrJvU34RpHe2fWcghvZoK4iAY8 UuzKRWoCgx0vJzK98VIOVu9SoTDX2Yit+pBCkHqKRaKxVRNUrGiCOlXXaQlp7kQQkqki 9RGrnhi/LNlu2LeNMzkWX4F+6dIGr91/76TXcGOXA3V9+P2DY8HU34YDXZ0bhlYjJv2+ 0YTeyQJcz2k/Boz9kY0XAJ6s1PUdiEGFJTe9Bi+4QIEkpNoiQ6f/qVzfzlC6qA/8gvdu VKinWQrigQHd8vuPx8BRdglVwq9UmNTBlu5tY1HwVFfjKB9ByLuRGm10RoX0EXR0BFku EdwA== 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 i22si18759483pgg.485.2019.04.28.12.09.36; Sun, 28 Apr 2019 12:09:56 -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 S1726403AbfD1TGz (ORCPT + 99 others); Sun, 28 Apr 2019 15:06:55 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:46568 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726299AbfD1TGz (ORCPT ); Sun, 28 Apr 2019 15:06:55 -0400 Received: from callcc.thunk.org (75-104-85-194.mobility.exede.net [75.104.85.194] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x3SJ6gTu002459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Apr 2019 15:06:50 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id BE60F420023; Sun, 28 Apr 2019 15:06:41 -0400 (EDT) Date: Sun, 28 Apr 2019 15:06:41 -0400 From: "Theodore Ts'o" To: Gabriel Krisman Bertazi Cc: linux-ext4@vger.kernel.org Subject: Re: [PATCH e2fsprogs 02/10] ext2fs: Always attempt to load nls table when loading the filesystem Message-ID: <20190428190641.GG24089@mit.edu> References: <20190413054317.7388-1-krisman@collabora.com> <20190413054317.7388-3-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190413054317.7388-3-krisman@collabora.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, Apr 13, 2019 at 01:43:09AM -0400, Gabriel Krisman Bertazi wrote: > fs->encoding is exposed by the library, so we need to at least try to > load it when populating ext2_filsys. Nevertheless, failing to do so > shouldn't be a fatal error, unless the user really needs that > information. Thus, we ignore this failure during open/initialization > and let the user who needs it validate that field before trying to use > it. > > Signed-off-by: Gabriel Krisman Bertazi Thanks, applied. - Ted