Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2041412pxt; Sun, 8 Aug 2021 09:30:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj8KVTVq4HPP+H8HCTV+9ipwEK0Hg8iMcKH3LoV8WHo2gdBi+Wayn0sO7WfM84NO/G0u0p X-Received: by 2002:a17:906:3bd7:: with SMTP id v23mr885923ejf.446.1628440207056; Sun, 08 Aug 2021 09:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628440207; cv=none; d=google.com; s=arc-20160816; b=FrlmsxOy9W2DoVS8q84cz1nvgoNi7Y5XfZADQZej2tL6WMUp6Bmy9ejbm6GSf06zXY XqT3WRyLxlMewojhmRnZYI7a1qb0qsJ8aKm6A+PD+rV6HCRA3GTicif0jJIZC+PTnJ9T 7ySsWeTTdNfB9Blv3Ft/OoG1wxa0sUEmKuFZs1bnmkB31w5hoEqwIRW97Y5aYqLRqVsh 3ocFNgg3s19Tg1i8XuMiEnmIZmD1hVlZr3Ywr5xGY/YLflb0ZXpCma23bKrNQ8W/fGGT 7t+kouk/iYIby7G5ctwB99oCnsnpnYS9TWlymPwQbITmaHcIrJ6mKlFoU6TiAgv5bnhr 6z/g== 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=z/LLOxjJ4WRf2qoaTtoBFeFN1INyerXXNPWN1cWCPrU=; b=niNN12iDtnXctew4c6jhmO40N+RdzppCl8whe1bN0nC/WCfsCDl5881xwFu4PTRz4F +KNhCqZND/WJY8nGNau3tF5F/Vh9esznRBeSyB5dea6Hb6zmqpXnKBJXEKQxdgHDVG/e WEnRCYFh9Jjhrvad3/J1eg27GDswDLpW7B1cUSa0bhWFQDkzXABcymg1k2oPjnrqsNiY U15+XzFclxZ9Ku3LC8aq8JFB1nXH6RNY6aCkFmsoakQHq20O0niV5lsHRFt6c0KcOphK G+v2ZjGZQZIgylnAFS2Bic0yR0pPPFYd/G5pw5kf4nJMtXPpty21N65WJ0JG/e5XIPGr ATQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rBnMdtsD; 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 mp19si4653379ejc.630.2021.08.08.09.29.42; Sun, 08 Aug 2021 09:30:07 -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=rBnMdtsD; 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 S232156AbhHHQ00 (ORCPT + 99 others); Sun, 8 Aug 2021 12:26:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:47462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbhHHQZg (ORCPT ); Sun, 8 Aug 2021 12:25:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C35526108B; Sun, 8 Aug 2021 16:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628439916; bh=eQPs0LWQBuazOmvJGjLKlWpE+0zkH3dOJ2O1oXtwFzM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rBnMdtsDqCiZ07/1G7BoaxjN9KW9K9BBqT4CeO2Jf4bRJ3o+HSXXEE/EU5Bok9tIx QsYTZG/e7lcYWC8p4IGZtSEuW2SyNi8HaNiv9qC0nhtB3m29MswTxgB1o7IQMepx7H claKQxNQrKzpLoHC5hA0Mfd60A5af//SEHJXwBfa0Rb3gd0BuhdNK6HNXXGWmhNqhy LM6o0H+o1weTWOlRI6iZCvyW4F5AY+xmD6EazJhHOeS5Q1N+xbHdu3jju/ycLftuTy XUZs6RgaRZr4mBNbUzcf2ufuuN2zKd4qy6JSnC0ll8wkEegoGKB7DkPSqrJuv/Iymn 4zJcvXv2tH13Q== Received: by pali.im (Postfix) id 841DD13DC; Sun, 8 Aug 2021 18:25:16 +0200 (CEST) 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 , OGAWA Hirofumi , "Theodore Y . Ts'o" , Luis de Bethencourt , Salah Triki , Andrew Morton , Dave Kleikamp , Anton Altaparmakov , Pavel Machek , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Christoph Hellwig Subject: [RFC PATCH 08/20] befs: Rename enum value Opt_charset to Opt_iocharset to match mount option Date: Sun, 8 Aug 2021 18:24:41 +0200 Message-Id: <20210808162453.1653-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210808162453.1653-1-pali@kernel.org> References: <20210808162453.1653-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ed4d3afb8638..e071157bdaa3 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -678,13 +678,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} }; @@ -745,7 +745,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