Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10002204rwl; Sun, 1 Jan 2023 15:25:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXuP/7faHaYxUk6GCLQxbpGuxvcv9WROh6Nt+iW6SvCPPxD5sDwJrZLcm7FbrLJPG7CPoFig X-Received: by 2002:a05:6a21:32a7:b0:ad:f2bf:bc50 with SMTP id yt39-20020a056a2132a700b000adf2bfbc50mr65740805pzb.13.1672615530223; Sun, 01 Jan 2023 15:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672615530; cv=none; d=google.com; s=arc-20160816; b=1Au8oZYMPB4XN+a6yHGEnshhI/hjdO4bXhUJftkK0IhqtGNp2K1gSLstK93TlvcT2a pxUhlUXbDA5h+sMMgimMm/c8PrWr06Ulm5I9QrLW9UZBPClwDTNIsGf3Yv8WNoSIUy5T NulznMW1POB9Vhn2yLprxHE3To7z2W1t3ogEtCl8Zo7wfXMseqo5Z/uGqsBD6Qo4T3og dNu+JpCp68Bn3o96PtfJcNZ5pWCnF4c0dnDOS+M/mT4VQtG31o/BW9EywVnlIh7M+Dv0 y8uI3P3W7X2/6vwkFn7yCxXg5okoqsrTfYYH34hXFbbeQUmIQRgsqZsSFu0THkSG8b2P 1ULg== 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=vTrasrqn+6GdWUHL5UhdqZwD/kayEwmTUKHGj0Sm+BE=; b=J0KDmpCuRorDFUFBBIamlR/rOY6PJ9iffVQLHlk0AjaERcXPhRcEJr9F7rRW+u2Jgl ce9ZqkWV2B/mNJfPM2OOlPJ2bJJJZJhl1NHkqP7MX+E04nf4iM5H5wdSvDbhZMkjc8mZ 14CoJmCRPWqNX19TJMJOlwfQB7MD/0ECoMRutXGV/23J0PwfBAVrSzk+TVlFdYV+BqQn qrl4x0ZH86KDCjC74YeeDWQEBcjvduBR93XtjpbDayLl/Ka5g/loaj3LGzWqGuOM/dev UmUoqxOeX1ajfffCwD8VpLfErlifOtKEOdnENImRxepv7guPICekkIx0qPv2wkBOPHn1 cEMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWMwgUwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k70-20020a638449000000b0048e5531bc09si28137731pgd.277.2023.01.01.15.25.22; Sun, 01 Jan 2023 15:25:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWMwgUwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230475AbjAAXDB (ORCPT + 60 others); Sun, 1 Jan 2023 18:03:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjAAXDA (ORCPT ); Sun, 1 Jan 2023 18:03:00 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 276BE2180; Sun, 1 Jan 2023 15:02:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CFCC3B80B50; Sun, 1 Jan 2023 23:02:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64FFDC433EF; Sun, 1 Jan 2023 23:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672614176; bh=+APP+2lLo3YrbHdKAcC0k1slJXQMh+w4XYkOq5/C1X4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CWMwgUweTkeHMK8dctc9B+xEl3YOh4W7RtjJJmB2WK61ive8fBmz5b4hbLBCoOsyR abr0bR9SPGNsvphP3wElRI0rYsIwU25VzSXtdsli5N0hDzLYDH9zPAaqfaFvpSI9Nf RLPtSOc3eaYgaLnxh2fSquwoubmmrs8Z684b5M7pLCc9t4fiapsbDzmCyEyy9oLBNY 9Iv2gIVaH3dQa7g9X1MCHWyPRSB9uGHKmHhcrJVLwm8fCXUN9BUZ3AMDVCLjv1omXg eeIJ7gpPcuQ1FNvrmoooKY34E4GWir7PEegHAoU1vmzhfDONozwujueB1qE/+uXGdu wwDn88iFMnbFw== Received: by pali.im (Postfix) id 5B302884; Mon, 2 Jan 2023 00:02:53 +0100 (CET) Date: Mon, 2 Jan 2023 00:02:53 +0100 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 , "Theodore Y . Ts'o" , Anton Altaparmakov , OGAWA Hirofumi , Luis de Bethencourt , Salah Triki , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Dave Kleikamp , Andrew Morton , Pavel Machek , Christoph Hellwig , Viacheslav Dubeyko Subject: Re: [RFC PATCH v2 03/18] ntfs: Undeprecate iocharset= mount option Message-ID: <20230101230253.qhhku7d42kyrbkst@pali> References: <20221226142150.13324-1-pali@kernel.org> <20221226142150.13324-4-pali@kernel.org> <20230101190605.s7jyf3umgubwrk3i@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230101190605.s7jyf3umgubwrk3i@pali> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday 01 January 2023 20:06:05 Pali Rohár wrote: > On Sunday 01 January 2023 21:02:46 Kari Argillander wrote: > > 26.12.2022 klo 16.22 Pali Rohár (pali@kernel.org) wrote: > > > > > > Other fs drivers are using iocharset= mount option for specifying charset. > > > So mark iocharset= mount option as preferred and deprecate nls= mount > > > option. > > > > snip. > > > > > diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c > > > > snip. > > > > > @@ -218,10 +213,10 @@ static bool parse_options(ntfs_volume *vol, char *opt) > > > } else if (!strcmp(p, "utf8")) { > > > bool val = false; > > > ntfs_warning(vol->sb, "Option utf8 is no longer " > > > - "supported, using option nls=utf8. Please " > > > - "use option nls=utf8 in the future and " > > > - "make sure utf8 is compiled either as a " > > > - "module or into the kernel."); > > > + "supported, using option iocharset=utf8. " > > > + "Please use option iocharset=utf8 in the " > > > + "future and make sure utf8 is compiled " > > > + "either as a module or into the kernel."); > > > > We do not have to make sure utf8 is compiled anymore as it "always is" right? > > Yes, right, we have always utf8 support compiled-in. > Second part of that warning message should be dropped. Ok, this is truth after patch 15/18. So info about compiled module should be dropped in patch 15/18, not in this one. > > > if (!v || !*v) > > > val = true; > > > else if (!simple_getbool(v, &val))