Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9854282rwl; Sun, 1 Jan 2023 11:38:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXu3s+obC0UFCxAma1pVMv63o/sbcjA2HY6Tdi9Z+RtNxqr0IDb/+EC0lSq9MsVMTIX97Pc9 X-Received: by 2002:a17:906:22d2:b0:7fc:3787:243d with SMTP id q18-20020a17090622d200b007fc3787243dmr35637973eja.53.1672601898676; Sun, 01 Jan 2023 11:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672601898; cv=none; d=google.com; s=arc-20160816; b=cPYDp5MPChls6aYRSFqJD6GQXupwPZYlK2pQZzs4ukBm0cKONuoRwsSZXTdlPGehSY OOrxv8mTlsek0QLZliWELGdf6TwADkbmdPqjvX4AHAZlxfAvqFju28nmFuQA8c6rfum0 5G+oSHA4yttaPVI2SSySM8gy1EP3WoXjSu9q/ZJHme/YDJsrAyxf/W28klohE8ADXXIX JAl/BmTMbl5zBbONZKNh9mM+u3ceEJ9M7Q0kp7aM/VPnkD2VMyhCqJiwLfZCkQ636MAQ idQ01zZ+KNJOkg52mRh/y+YMud03Z7WpmN7boVIQaDszhGOr9iRfWkt+3ocrr9Q5W4vc l1cQ== 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=oSnIjnCZg7iM1GbWnfUiBsdoMyISJdUdnBEnw4pi05E=; b=NXKFxzRqEb1esH7E7CqezxxHowCyeSf3BN6hbD+2Eikpc6nvFYQzhnWYCoWUardq+G eq3lM/GddkZA7PDb2vuBAQeE55GTjDQk0p4uHCUwL82ZbFW8+kPFylgu6Muvb0fw6QrI vfZ2Rd9Ru8etHko8KF2i9U275Rx+eaLPMGDApAZyxJtapgLtQAQ/6UjQleZEAZ5dvTna r11/wXo3qMsJenksZyrUzyUCRA6W4Qur6ddvgQ8QLnpP3ILu3Yz0EFc29XrkJLmkqd/K k7Rf+2+5xuAJtxCmf7g2qlaJYUth/IVBPjuA1O4UxdS6juucUjym4NRQxxAFs3jR8fMz 4pZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TAQlHQcA; 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 nc40-20020a1709071c2800b007c4f4d0427dsi24785608ejc.409.2023.01.01.11.38.04; Sun, 01 Jan 2023 11:38:18 -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=TAQlHQcA; 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 S230072AbjAATGO (ORCPT + 60 others); Sun, 1 Jan 2023 14:06:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjAATGM (ORCPT ); Sun, 1 Jan 2023 14:06:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2573D8A; Sun, 1 Jan 2023 11:06:11 -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 6E8BAB80918; Sun, 1 Jan 2023 19:06:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0BBCC433EF; Sun, 1 Jan 2023 19:06:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672599968; bh=v/48WLw5b9kHI2kBsC/V9/Y84M/neLQ2uytuy7oB0VI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TAQlHQcAO2ymuKtvY8X2iXDJhTb4aTx6YfvnhiN4t078LjJS2ZMy70d35wI75fOD/ 3N39Oz/uxWUEskqh+cuzeKsIedWy4zDW9Btd6OsQ98jeVgHEM4Jf5rFj2EQDOcHlR7 130NwIOTnc9dMTuSiuuqv7CxR2bly7G6Bl3w5rgYpqbo84jgs0z7janVUjVFrrFP86 s9wW+DobPPZ1/GLdUQ7+gCBgBoO6qLHEaezhfTYVn6sJHRZPmolXsq/KGkeq/rr8z5 Om5U3ZpV0WWV6S8nf0X96KPEMoEHpEn2+i60dvjZ9PKLDds7ZjHkuSwsfOaWhccxu9 SmcOY0oAdxN8A== Received: by pali.im (Postfix) id DD34C884; Sun, 1 Jan 2023 20:06:05 +0100 (CET) Date: Sun, 1 Jan 2023 20:06:05 +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: <20230101190605.s7jyf3umgubwrk3i@pali> References: <20221226142150.13324-1-pali@kernel.org> <20221226142150.13324-4-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 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. > > if (!v || !*v) > > val = true; > > else if (!simple_getbool(v, &val))