Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp454612pxb; Thu, 19 Aug 2021 03:43:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc+d5mQPj6/epxv2oB9iU8T18Z2d4bAwfRXMfwG/6JGlINSn9uSz3vhxmfl5OktvyvAENR X-Received: by 2002:a6b:b4d3:: with SMTP id d202mr10984930iof.8.1629369796138; Thu, 19 Aug 2021 03:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629369796; cv=none; d=google.com; s=arc-20160816; b=SynG6HHAHfcBttb+4CUIO4ILv9JSIRZ0asmbzw5Rb+3JyBO4H+PnUuSw2GQhp3NMjz C/rHEnKK/OCTGdbNSu6m6Pzdypj+kUbdLGYCHpQCwC+gzBRGQkMUsRoRZe/3iLPMMhXC NxabdNmiJP12xQGea7bp1LraPmlQPN7IMVjz1skkUTwUh6mwLY2qud7HLf0oGFpCD6pW PW7oPOpzWHFeqCuBWK3/gLq0wt917rJOCEGZ0wnbWtur62hh4JqHnOu23kJkxYw4ryRa 8RRorwrkKTIya3UGue4UZpd/20rNRcu4aeUdUeiawsnTrVOLCKUhwFRJS512N4haIPpr VNEg== 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=rYCiuaaVE837hJmVPqNGfQdo0C78s0ZEZthPtB8IJws=; b=Qa/5jmDKC7sxmfVGD1NXYytUd2/3Iuag5rgfDFyRlJlV+nmZHYePmvIJOM6rYISvj7 d8H6OruAW1LPcvG0HWmOX+LQ95wmo91zNwY4AsALG8boYCrzT6FpaxbYv/C6XL6MdMNe dT+sePbSmXo5434zMNqlixxC/gaS8D5mZspokxPKKpqZnpUqsuzLXEQU5Or8h5TQC5it Oyl9eKXynB3JiaPvLjzhVxmhASiaQXDUp931ca9XvhUaCsKauK8X4JSI3Cqh6atdYyKB ZAluQFyqF05YiRxChqtCOYWbZm/R45NcM94xaqwtl2eJYtsSmkKdhV36DAhD/EsU0zbh 839w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=QHaOmtrP; dkim=neutral (no key) header.i=@suse.cz header.b=Gru6Sh+l; 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 i4si2972912ilv.27.2021.08.19.03.43.04; Thu, 19 Aug 2021 03:43:16 -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=QHaOmtrP; dkim=neutral (no key) header.i=@suse.cz header.b=Gru6Sh+l; 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 S238250AbhHSKlu (ORCPT + 99 others); Thu, 19 Aug 2021 06:41:50 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:41020 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237730AbhHSKlt (ORCPT ); Thu, 19 Aug 2021 06:41:49 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 614ED220A2; Thu, 19 Aug 2021 10:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1629369672; 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=rYCiuaaVE837hJmVPqNGfQdo0C78s0ZEZthPtB8IJws=; b=QHaOmtrPYFKY/ECa0Oh3D3wOcmiAL2JIpqDvMQlYI8BpjqLWJt/mUSCQ2vcjBliEoI4vxA SYRH4Cp+inhlt3V0CmPecdnxJE3Epw2H+midOIK0+xTMDInKdu3RequJsEUPyMp2pqyIQw CijlpHlUEd3Hub7F+wyUGJuZ/cSF75w= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1629369672; 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=rYCiuaaVE837hJmVPqNGfQdo0C78s0ZEZthPtB8IJws=; b=Gru6Sh+lMbjFw9se8RNLXjS6xr6bYz+hcdqsCoSCBrJKyJSzbka4LCg8dAxA8ab7QDTvHb tSzoTxy76e1B4yCA== Received: from quack2.suse.cz (unknown [10.100.224.230]) by relay2.suse.de (Postfix) with ESMTP id 66AC1A3B9A; Thu, 19 Aug 2021 10:40:54 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id B8FF31E0679; Thu, 19 Aug 2021 12:41:11 +0200 (CEST) Date: Thu, 19 Aug 2021 12:41:11 +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: <20210819104111.GC32435@quack2.suse.cz> References: <20210808162453.1653-1-pali@kernel.org> <20210808162453.1653-4-pali@kernel.org> <20210812141736.GE14675@quack2.suse.cz> <20210812155134.g67ncugjvruos3cy@pali> <20210813134822.GF11955@quack2.suse.cz> <20210819083432.yy36hrbxzmbasvwd@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210819083432.yy36hrbxzmbasvwd@pali> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 19-08-21 10:34:32, Pali Roh?r wrote: > On Friday 13 August 2021 15:48:22 Jan Kara wrote: > > 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. > > Well, if you have already done tests, patches are correct and these fs > driver are working fine then fell free to take it through your tree. > > I just wanted to warn people that patches in this RFC are mostly > untested to prevent some issues. But if somebody else was faster than > me, did testing + reviewing and there was no issue, I do not see any > problem with including them. Just I cannot put my own Tested-by (yet) :-) OK, I've pulled the udf and isofs fixes to my tree. Honza -- Jan Kara SUSE Labs, CR