Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17404016ybl; Thu, 2 Jan 2020 04:54:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyhNSGytXXBTSssWyHC7elyI1cMIllcBnLs6JNndbDM02oIj+Ydb7FjLPjc2yakxlYdsixO X-Received: by 2002:a9d:7757:: with SMTP id t23mr95837220otl.315.1577969672661; Thu, 02 Jan 2020 04:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577969672; cv=none; d=google.com; s=arc-20160816; b=mCjljX6/ISsAnDO6yPXC6rveIPjT4CVzIx9kGrdq0Zr47xzO+Msa3wE+ibsptQODT4 Dzwa1ukK14IdUKXLEQXVbm1bvESSjb94XoKfaagBh+7XWoG6NUmnzbduJbcxVHQijETq kZ+YF770SA728/6CYejSQmlQ0gu5skf5JbgO/U7bXpqdkpO9fm5Z8a0EXOElD5bvZq9s AwOre1FUhMwiEjkC78zdoEWg0/mus29K6xlWd6OY1B4hy+dMuqr2yIwThkxsZuRFKZrm BDzQXv+LDidrRSsW9O6P9w8zbopVOgJUr080zb9Rx1ah206RzFPA8TGaORjLs6/7uNwt jmcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YwBwOFr2GTeVQt8tImFqrPLqlCxuVqOvF8sYlUHm2+Q=; b=O52BT1WGWYA/69vFBcl3X3UQgTapKNXmsn6d2VhqtGTybC3HLfEaPHfrwb7VZeKHgD AyJZiMwIFGZqdVRkGBetnqPbGPeXLd6F0NX/gKJsh9JfDRmoTJbbm2ks9bIHN1d3pzvJ XL5CdZqW46uhz3ROfzv+/E7lLSJC2b/6vtUS/tVm0VQ7l6T4WX7iam6mqavvMca3BvtD aibIGZXK3g82A+eNxXuywMGQAt5JNXOuvbXnGL0UDj+2uZW/9mbHCmt67bMZSaOZA2Bo D3YWGhj1GAPCoLTMptvMDR4qz0qbHEsfQvLGiXsDXR/hmw2bZWSZQqZsne5fdK0rXpgf 6fWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p/DlE16f"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si26706116otc.130.2020.01.02.04.54.19; Thu, 02 Jan 2020 04:54:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p/DlE16f"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728323AbgABMxm (ORCPT + 99 others); Thu, 2 Jan 2020 07:53:42 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35504 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728297AbgABMxm (ORCPT ); Thu, 2 Jan 2020 07:53:42 -0500 Received: by mail-wm1-f65.google.com with SMTP id p17so5570262wmb.0; Thu, 02 Jan 2020 04:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=YwBwOFr2GTeVQt8tImFqrPLqlCxuVqOvF8sYlUHm2+Q=; b=p/DlE16fJVziot3niZucLMnORocGMIL+ZirYo/4YUbuvBiIHVKkOJ7EhWFE69ABIKg YGL50ANCbvnvq7e7Gg0PPE317Rg0EbHIMf0ixGjyYiJwPvrTNG67j1Jnc26jbJXSy0lA 6dGRJqi9Zot5iEumK8FfUA6Yw8xC3qg5wtaCsX5h+eLYorKl9N9uj3WwlqkewAJ10bSh YDvZYvTDbBuN638FKFp6SFxud4Z3bWjvECswQVN6+8Y/j77JR4T0l3LJZIJzWCE52VXP Nbgo6UDmfXtCAQe+UIjBy5iRcmvSPxSPZfo8BwP96A4Vm9dwTmbOOIQuovylwZJJGc8I U1EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=YwBwOFr2GTeVQt8tImFqrPLqlCxuVqOvF8sYlUHm2+Q=; b=caadJEaAo/OKZw2YdVKIIpgUckA68aRq2VEmzg0MK1fpKYNr9qjVBvAKkCr/ViL3g8 0tHpSN8zbNM3vrjMbCTbRqxKmKTIGINtLaadAm4GKUcs62BvKf+op7kQ3GQGwktwN8Z5 9N4JsJkKaif/U5ZVGMJx+9HjyBHw5AQoCfm4ZhDnjAkGiCn/MshVLUNPcWVUpidRY20i AbVkrq4IMvmsn2c2qSxoP+77zPvrJsrm4Z/FrcNfsfG9zyys41veLjkvhl+4tmg6didj Y2xPG3Uc3jbN+fm5CwuWcETs/ToJ31KJD0bTJGpLcslfaXu0vG/egitnmaOJ7HU6zjNb f7KQ== X-Gm-Message-State: APjAAAWlZKGuzIW5AaHJ0FfGYnCRQpmki7XMDp4LiUuJGR8ZvbHQ2hU7 KehS7i69rBkmmAqZWa7nV6w= X-Received: by 2002:a1c:1b41:: with SMTP id b62mr14098075wmb.53.1577969620616; Thu, 02 Jan 2020 04:53:40 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id d8sm57064112wre.13.2020.01.02.04.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2020 04:53:39 -0800 (PST) Date: Thu, 2 Jan 2020 13:53:38 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Namjae Jeon Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de, sj1557.seo@samsung.com, linkinjeon@gmail.com Subject: Re: [PATCH v9 11/13] exfat: add Kconfig and Makefile Message-ID: <20200102125338.pf3aw62qtnch5oqa@pali> References: <20200102082036.29643-1-namjae.jeon@samsung.com> <20200102082036.29643-12-namjae.jeon@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200102082036.29643-12-namjae.jeon@samsung.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 02 January 2020 16:20:34 Namjae Jeon wrote: > This adds the Kconfig and Makefile for exfat. > > Signed-off-by: Namjae Jeon > Signed-off-by: Sungjong Seo > --- > fs/exfat/Kconfig | 21 +++++++++++++++++++++ > fs/exfat/Makefile | 8 ++++++++ > 2 files changed, 29 insertions(+) > create mode 100644 fs/exfat/Kconfig > create mode 100644 fs/exfat/Makefile > > diff --git a/fs/exfat/Kconfig b/fs/exfat/Kconfig > new file mode 100644 > index 000000000000..11d841a5f7f0 > --- /dev/null > +++ b/fs/exfat/Kconfig > @@ -0,0 +1,21 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > + > +config EXFAT > + tristate "exFAT filesystem support" > + select NLS > + help > + This allows you to mount devices formatted with the exFAT file system. > + exFAT is typically used on SD-Cards or USB sticks. > + > + To compile this as a module, choose M here: the module will be called > + exfat. > + > +config EXFAT_FS_DEFAULT_IOCHARSET > + string "Default iocharset for exFAT" > + default "utf8" > + depends on EXFAT > + help Hello! We have already config option FAT_DEFAULT_IOCHARSET. Cannot it be reused? FAT_DEFAULT_IOCHARSET is used for msdos.ko and vfat.ko, both are from FAT drivers family. So it looks like that FAT_DEFAULT_IOCHARSET could be used also for exFAT which belongs to FAT fs family. > + Set this to the default input/output character set you'd > + like exFAT to use. It should probably match the character set > + that most of your exFAT filesystems use, and can be overridden > + with the "iocharset" mount option for exFAT filesystems. > diff --git a/fs/exfat/Makefile b/fs/exfat/Makefile > new file mode 100644 > index 000000000000..e9193346c80c > --- /dev/null > +++ b/fs/exfat/Makefile > @@ -0,0 +1,8 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > +# > +# Makefile for the linux exFAT filesystem support. > +# > +obj-$(CONFIG_EXFAT) += exfat.o > + > +exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \ > + file.o balloc.o -- Pali Rohár pali.rohar@gmail.com