Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp370725pxb; Thu, 19 Aug 2021 01:15:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAPPjTsn7zWZq75QOcaJ86JjXqzwfDmrxu/gNDDZQmVC5l9nQjMwTv4W0INM6WqJbx0uKM X-Received: by 2002:aa7:c64f:: with SMTP id z15mr15476842edr.54.1629360944985; Thu, 19 Aug 2021 01:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629360944; cv=none; d=google.com; s=arc-20160816; b=Z56498za1KNuOo28RkaRpDRzvrzNGaW5GDHKA0cibeZO1Pcz7JC+ETyaNaDqRh49zi cnC9L/KgE2t936NCKcRLh4/oW3UWPYdl7xt7+irAPubFHFr+7qH/meK7+d5mbOsepuh8 DYIfwg0+ZJPmAEQ4aGOEgK6xUVh7hikpL0gcVYgMlPycTvHx4zgCC93yLoBe1uR3IEGi JqgFwXTL4s+DYHqpAYlavFrGAXP9q1GX2sHsUhph9ym6jsB6ZM55/lHB2FW+dve0uVux znFUZr2B/xKJxzb7+bIViS7Nvxtx/ortOUNOb4XlpygRFQtQx6rVSnOeXTCV9zsGmey9 JHxA== 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=t1vqcC40E7+S9J27CU2mLhd6z+QTe8mzCl4bE+XvYv0=; b=fwLCiVDdDqdK6wevVEa/f0Bgx+ILV/8EiKKrxyZk1uDd3e27617xoZFwvCIC5LkVy3 +KeDXB4fUYQCoAU2EEntxp3QL8xTPJ5olcrtuPCthz2drW/XoPllqJROqjtxefyGpmPt klApf51h7QEC8S5l8GI27pGmnBOPkXEjrak6T3MThHNPLLA6LIvYZa1Mvmet8POG08/4 KMuF23fVneSvoKZu4792avqXGYxMySQMTor63r9lQlQrFTXs9Tyb8c27eGC6Bvww/dBj y/j5CCBAX39qcvoY0QPE0xmlV7UkNPE1hfFs3bR+O1reVtSG9hjC4GBSgYznboVZmZ1h VpDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ImP54DbD; 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 nd36si2919732ejc.253.2021.08.19.01.15.20; Thu, 19 Aug 2021 01:15:44 -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=ImP54DbD; 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 S237185AbhHSINI (ORCPT + 99 others); Thu, 19 Aug 2021 04:13:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:44120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236854AbhHSINA (ORCPT ); Thu, 19 Aug 2021 04:13:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D0D1A61131; Thu, 19 Aug 2021 08:12:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629360745; bh=GOCGkI4khodlS6ZkJJHgdEHRUQUkLqQWLt51fbZhqag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ImP54DbDs6Ze/pjeJpxZIXIxsHwZxhPCVYEj1FQ58Pk8MQu0YgBPPHVt2QyUrWWOo F+7xVtg+xAy7FRjbe1EDJHizPC/0f/+6YwEFfR5N4NeTc9Emy2+fr9qITRH7x6la1+ hCoKeGQqcKtWUd31f3zvr+9Afmvbea3bQHeAPiMQbPMWP2TOn6PTse/9stQ5OEP3SZ JTYkH0+aLr1DP5o6LkC0JuhqRDq62f+H5i2uiAFs3/pjZM9v7Hz9dS2sVFhpuvLxJE HuqJuEhjdyzIEfkvibVqGVld2ul4ViExKk1iPge2+38neIx/AdSziIQW7tMIsNbDhk G+ZkXmRCjJf3Q== Received: by pali.im (Postfix) id 571FC7EA; Thu, 19 Aug 2021 10:12:22 +0200 (CEST) Date: Thu, 19 Aug 2021 10:12:22 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Kari Argillander 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 , Jan Kara , 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 05/20] ntfs: Undeprecate iocharset= mount option Message-ID: <20210819081222.vnvxfrtqctfev6xu@pali> References: <20210808162453.1653-1-pali@kernel.org> <20210808162453.1653-6-pali@kernel.org> <20210819012108.3isqi4t6rmd5fd5x@kari-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210819012108.3isqi4t6rmd5fd5x@kari-VirtualBox> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 19 August 2021 04:21:08 Kari Argillander wrote: > On Sun, Aug 08, 2021 at 06:24:38PM +0200, Pali Rohár wrote: > > Other fs drivers are using iocharset= mount option for specifying charset. > > So mark iocharset= mount option as preferred and deprecate nls= mount > > option. > > One idea is also make this change to fs/fc_parser.c and then when we > want we can drop support from all filesystem same time. This way we > can get more deprecated code off the fs drivers. Draw back is that > then every filesstem has this deprecated nls= option if it support > iocharsets option. But that should imo be ok. Beware that iocharset= is required only for fs which store filenames in some specific encoding (in this case extension to UTF-16). For fs which store filenames in raw bytes this option should not be parsed at all. Therefore I'm not sure if this parsing should be in global fs/fc_parser.c file...