Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp383639pxb; Thu, 19 Aug 2021 01:39:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc+u6Vp33Svvn3SXMQjxk7DD1bjObZY5fb7+NFsaMx8jfNaUJIKNlClZpqGPZ6pAm/HQxL X-Received: by 2002:a17:906:6009:: with SMTP id o9mr14687605ejj.266.1629362376344; Thu, 19 Aug 2021 01:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629362376; cv=none; d=google.com; s=arc-20160816; b=NSXvYrGmb711W3w3uwk1Th8RmhPcTYSZHhD4KFUHag0PJFQHpVZiqUDr1iPgs5bMwq vxGiOvUXtoY+AjQnyvjuS6W1VkV7M6Ye6qd4xDwm56rgcrmRq6m3IFOnvHAWgSyOlBag pJJeauRi+ebtVSyYFMfPkBc+Mfr8l+jsf7Idtc/4Qy9+Kgi3AX1mc9genwed7fGydKqq kPi4HBqYnaXxipbV3+M64VXN3SHk5GIAdQMn+BnbZnx5ilgq8Lb2+goqwxis2bMEZmXv 1r9UvTqhjRS6HskyEO1G+D3WXFZf0lzJapNozjWIank/fPHjit32PM55Um5kdO43C5Iz 4D3w== 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; bh=xgmltjgbIOCgt4H7FK6Bo6yQe3JLjTPro8hWmkuo8JM=; b=WQYG4Rgv2U9iOKVv8Fs+/VmeKO1t75+of3NYXPV4v9EjJsgbw7rl7bRhLOZ98GRr1X bcKf9J3Tk9o7AII/yFkfpDRStV9F8Rw6Zol4LIczzDf2nPGViQcBJvVknwU6i6RsLDmX R3nTOuI19qFN1WLiJ+aJnj4f8znAtu/iyDtaTTrFFT/EMnIL9zv1qq1F/Z/yM2wVbJ6w 9a+nl/z8uAI90+QtaoxsOlPoMHF6SDsULNXy69lpEsg4F12NVK6kUnmOIbigFAjhkOPM 8j08nRlWU3cTCugJ/0Ae48XYFwUuaF2hWlGRdQJ/DTnUSq+swP2b5H1ngYZBXVrQnnzU lxjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XbZFir7i; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si2676093eds.480.2021.08.19.01.39.11; Thu, 19 Aug 2021 01:39:36 -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=@kernel.org header.s=k20201202 header.b=XbZFir7i; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237185AbhHSIfL (ORCPT + 99 others); Thu, 19 Aug 2021 04:35:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:48128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231494AbhHSIfK (ORCPT ); Thu, 19 Aug 2021 04:35:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 896D1610FA; Thu, 19 Aug 2021 08:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629362074; bh=Bd2L1bF1i5ySeLJ979rjOA+eVsO+A3AVVXhjsHT7yGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XbZFir7iCQmB49KMFmSrAaS5/1hj+ReN+h9w4sj8ze/4hYuraavS71ss+lp4A80iU At1TEW+wYevB3cmLh/neU1KFlyLVpt2aS8RHAUOVbgb1BUCE3ua2zhTB2eT7KrRyNf AoA8gCV8ywtLsOyJE/dXp+8CoMIjcLplvazqy72vzKjA1GJKv+51E/KoN40z14uy7f +oO0DKJCIrDRyn5hnYfqfj/K70DJQd/jwnkek1INKgV/aA8t4Af92aNMu7iEfhNoPv wc/FOH7kxBCTpa1TlmYwD7fz6aN04hx33KGrs+N8D6eKftBVNafYBb7SQ/C5H6EcvN o240Z2pI38mww== Received: by pali.im (Postfix) id 365367EA; Thu, 19 Aug 2021 10:34:32 +0200 (CEST) Date: Thu, 19 Aug 2021 10:34:32 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Jan Kara Cc: 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 =?utf-8?B?QmVow7pu?= , Christoph Hellwig Subject: Re: [RFC PATCH 03/20] udf: Fix iocharset=utf8 mount option Message-ID: <20210819083432.yy36hrbxzmbasvwd@pali> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210813134822.GF11955@quack2.suse.cz> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) :-) > Honza > > -- > Jan Kara > SUSE Labs, CR