Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp957741pxb; Fri, 13 Aug 2021 10:02:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwevInF1V2oFXk9qYPJBg9sM1D0xZjWkpG4u3hDHFR4uMKoadeB97b95qCkQVz1SZ39Firv X-Received: by 2002:a92:c245:: with SMTP id k5mr2446475ilo.143.1628874173897; Fri, 13 Aug 2021 10:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628874173; cv=none; d=google.com; s=arc-20160816; b=fMCkHsoyShw1o/FpzuT9kGaGk1/CDk+vaebXLHPgVkW8AQYmVs4e5Un/uMhtvnC7hK wlyf3hAc1xHAIbfJSVGj0lKUziXyQIew4h1My1ZJhrsaK16ihmZ9MVUhRsFRD3dx1apv pMXOjOHJoZKvtBH+8vJmYhmzxceSqJZkI7fsBHK06DvadaXk4Dbh4cCt/aR/cJS7NijA Y75WLtaxuOciup+uCOpuvzKREFg5GP/JuUKBBsPZgdW0Odh8+pVvg/WuTnvz1eK3oTpM NzyrZQMfSAuATRoTXptPISgtS0KdRPyO0C2UJKwWm9o1UqwB63RUhvTBA2VgttuwXx0z YdkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=iKfxhwub3oLTOa/l2On4u32rCTa2b379k/9DNB6qAU0=; b=VhdWyd0y5mBSyrmm2XM7gm04J57fDr6JcI1PCi0YXHuvCv/Q021Bq5l+U6wiBMLsJY r9sINBLaYKKeulDqS5+WmgWfQNc1vIdPF5mxEYDx4fc9YyD/KO5G06MweO/osLjq9hF2 I1Qj7x+0oX6nndCzKnaM2sj8OWOU22yoPe72vIMIcBdAu11CiivajSRMGh/1z8hf3vkb PCH2rv7+/1VhlODCUtiFffqNTy8nr5+nAzMjL+mg4hyc0Jhn6Kfh/gUyeM//U9+JO64I EbDpLkoOAZt7ZvqP9up+151fDNLLXWpAGDIOiYrhYHyVv4BaO2oQj0NyqVGdqjeYOE+9 Qd/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Z8uS515S; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 g8si2291379ilf.133.2021.08.13.10.02.41; Fri, 13 Aug 2021 10:02:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Z8uS515S; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240347AbhHMNsw (ORCPT + 99 others); Fri, 13 Aug 2021 09:48:52 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:44396 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239392AbhHMNsu (ORCPT ); Fri, 13 Aug 2021 09:48:50 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id D61AE1FFC4; Fri, 13 Aug 2021 13:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628862502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iKfxhwub3oLTOa/l2On4u32rCTa2b379k/9DNB6qAU0=; b=Z8uS515S7zGDIuGZKjdGQnOGi1B1NMkvn5EMA+l5RfMfD16SG+wM9Mm19p+1gipU7UNAHX 0E1CJ40H6H/zsQSY2HDwFUHjF2rqaZ5HB9V3rjis6qJb/e0Pz6SehsbBqLGTKBNap1mO4r qDyFX3gpOxFN0s2mLPgjWuzgZ7EINj0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628862502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iKfxhwub3oLTOa/l2On4u32rCTa2b379k/9DNB6qAU0=; b=zyI2xYTl44lkAN35E0504dtH/sg3z277p6lXJScR58eQIKfhnvpgRsIr1Y6nFxZ5yCYNkB DAkXUUrU1WgUfMAg== Received: from quack2.suse.cz (jack.udp.ovpn1.prg.suse.de [10.100.224.230]) by relay2.suse.de (Postfix) with ESMTP id 6A489A3B87; Fri, 13 Aug 2021 13:48:22 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 4587E1E423D; Fri, 13 Aug 2021 15:48:22 +0200 (CEST) Date: Fri, 13 Aug 2021 15:48:22 +0200 From: Jan Kara To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, linux-cifs@vger.kernel.org, jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, Alexander Viro , OGAWA Hirofumi , "Theodore Y . Ts'o" , Luis de Bethencourt , Salah Triki , Andrew Morton , Dave Kleikamp , Anton Altaparmakov , Pavel Machek , Marek =?iso-8859-1?Q?Beh=FAn?= , Christoph Hellwig Subject: Re: [RFC PATCH 03/20] udf: Fix iocharset=utf8 mount option Message-ID: <20210813134822.GF11955@quack2.suse.cz> References: <20210808162453.1653-1-pali@kernel.org> <20210808162453.1653-4-pali@kernel.org> <20210812141736.GE14675@quack2.suse.cz> <20210812155134.g67ncugjvruos3cy@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210812155134.g67ncugjvruos3cy@pali> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 12-08-21 17:51:34, Pali Roh?r wrote: > On Thursday 12 August 2021 16:17:36 Jan Kara wrote: > > On Sun 08-08-21 18:24:36, Pali Roh?r wrote: > > > Currently iocharset=utf8 mount option is broken. To use UTF-8 as iocharset, > > > it is required to use utf8 mount option. > > > > > > Fix iocharset=utf8 mount option to use be equivalent to the utf8 mount > > > option. > > > > > > If UTF-8 as iocharset is used then s_nls_map is set to NULL. So simplify > > > code around, remove UDF_FLAG_NLS_MAP and UDF_FLAG_UTF8 flags as to > > > distinguish between UTF-8 and non-UTF-8 it is needed just to check if > > > s_nls_map set to NULL or not. > > > > > > Signed-off-by: Pali Roh?r > > > > Thanks for the cleanup. It looks good. Feel free to add: > > > > Reviewed-by: Jan Kara > > > > Or should I take this patch through my tree? > > Hello! Patches are just RFC, mostly untested and not ready for merging. > I will wait for feedback and then I do more testing nad prepare new > patch series. OK, FWIW I've also tested the UDF and isofs patches. Honza -- Jan Kara SUSE Labs, CR