Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1904422rwl; Mon, 26 Dec 2022 06:24:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXuy8OvUFESF2QW5d7WKjNo6xaV8rcQcTANoIZKt9qIpmVeGMrYTFhhMAuAidEtm4vjeKfGo X-Received: by 2002:a17:902:f604:b0:192:55ab:88fe with SMTP id n4-20020a170902f60400b0019255ab88femr18027435plg.56.1672064680230; Mon, 26 Dec 2022 06:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672064680; cv=none; d=google.com; s=arc-20160816; b=EvAjHdDRjoN3OdHHLIvKveRTY0RwqbzYoNH4WzFkR5GqXnNxr8kaxE9RQPfKZlGZTx iWGiUZa0B2s9qvbkcx7hrZ2v6mozVKBvkyBQYgH8i//3/r8fXBq06/JTi2xGDV8BD/p9 /cKwrlpnXatsIR1S280KKcwRkuSbYsAuybT6NGpOjum8RzYVJF5sssaa6Uo2BhyH3bGj kQM5/xJo66rdUmXQRPzwJ5ZbII3PuPJeMm6qcvhrVfCOcNyCeZnWgdKAPvcfyXYrj/oq JQu9+uprT1oWgDGZCk6yWGFnV9BnYSByoNtLSUgHO4/ZkgVr6AEsb8Q6yF6LavTwdo7T 1low== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=LbnArp/Y0UQrurgqJvDl683E2eOgfoyDxSesZf6O2Dc=; b=Kl8fMAM/2K6s16MrtR3/CbyLe7mnCcxqqhNlnE9TOp8jqpJd2rM6qNTH4DHzEiXqdR ypTUdf1pAsXl05ijRJtQbpMQSVN6jDk4Z9hym1GJGM5CHp3T2WMDxst0WNJ1LaCaxWdW dOMYH160Hk/2CrciCSp3eIs6G9d09xCVOf3SwUBj3vR9qgkNMXEPk1fh+geAVn/yhLAQ mk5Fnyi7Qz3pJTTPV2aZv1Hb1Q0pVuJHGT5H1ey51ofJssVdB0u+ML0AoiAACzu6omsh +3WXHraM77k3srEZzjiBHzc80VRyP1+wlD6mgskJt62mXUasOhRD548nEXKSqqgIFknG PlqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pW2+TFrb; 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 73-20020a63004c000000b004615836deeasi11454645pga.860.2022.12.26.06.24.31; Mon, 26 Dec 2022 06:24:40 -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=pW2+TFrb; 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 S232138AbiLZOWu (ORCPT + 66 others); Mon, 26 Dec 2022 09:22:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231896AbiLZOWJ (ORCPT ); Mon, 26 Dec 2022 09:22:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECE8A2613; Mon, 26 Dec 2022 06:22:08 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 728FB60EB1; Mon, 26 Dec 2022 14:22:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B26BEC433F0; Mon, 26 Dec 2022 14:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672064527; bh=7z2lZ+Be7RkuOUgzW/6Khhu+Fp4b8cIx0oWTtjIwGLE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pW2+TFrbcj9Y/de7k5L+kL7JaFTjxs8ZabMRJesm96TzLOlfKyD2ZU68GdwWD8OXT /MkTbPYx6x8/RdXTBHi3KPZQxXa8UGIALdcDx5R4UUCAIeGxc5H3qa0eefxO9C/Jd9 p6VIQ9PDX11m451GS7nAbpjNoq02pEoNbs7obTnCtto51IJC/LsXKGSoIa/p3oigPD SLjqwoOadzlBmO6fGa6k6SBurFCHiz+fFOrARIv28c5D32lF8h6Tan2asFNhWWAZmq GN/kH9H2zR240mg+LXhnncrZFZ0qrN76B7p4mgr/FFafhpqv3pN5093qKOle7exmNL rLQ12nQGwmE7g== Received: by pali.im (Postfix) id 6D4ED9D7; Mon, 26 Dec 2022 15:22:07 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: 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 , Kari Argillander , Viacheslav Dubeyko Subject: [RFC PATCH v2 06/18] befs: Rename enum value Opt_charset to Opt_iocharset to match mount option Date: Mon, 26 Dec 2022 15:21:38 +0100 Message-Id: <20221226142150.13324-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221226142150.13324-1-pali@kernel.org> References: <20221226142150.13324-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Mount option is named iocharset= and not charset= Signed-off-by: Pali Rohár --- fs/befs/linuxvfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index f983852ba863..5c66550f7933 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -677,13 +677,13 @@ static struct dentry *befs_get_parent(struct dentry *child) } enum { - Opt_uid, Opt_gid, Opt_charset, Opt_debug, Opt_err, + Opt_uid, Opt_gid, Opt_iocharset, Opt_debug, Opt_err, }; static const match_table_t befs_tokens = { {Opt_uid, "uid=%d"}, {Opt_gid, "gid=%d"}, - {Opt_charset, "iocharset=%s"}, + {Opt_iocharset, "iocharset=%s"}, {Opt_debug, "debug"}, {Opt_err, NULL} }; @@ -744,7 +744,7 @@ parse_options(char *options, struct befs_mount_options *opts) opts->gid = gid; opts->use_gid = 1; break; - case Opt_charset: + case Opt_iocharset: kfree(opts->iocharset); opts->iocharset = match_strdup(&args[0]); if (!opts->iocharset) { -- 2.20.1