Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3661414ybl; Tue, 21 Jan 2020 05:00:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzL/TC1QbrL80qHw47JdfEacXEQm66DrFBdFZjVP/louvmSAHgvVuhRH+HDJRGnXw6e+HEM X-Received: by 2002:aca:ec93:: with SMTP id k141mr2688200oih.145.1579611652635; Tue, 21 Jan 2020 05:00:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579611652; cv=none; d=google.com; s=arc-20160816; b=UFbhNsMTzoS/5/mFk2gi6BathmUglg0mOhxB6Vy3GskYR2rVU3hO3hAyOIMwFKftsH 3J4BKgoUDfsLxLQaXlU9emn99cl/Fiz57NReBEixNlCsEcHvpC31oeNUZQjCZH2On4eM lSbUIU0N/Ds/jlQKIAcddq1gDddt+l9GNqmBH3X7HkjTJNCWCE0q2BM8dPJz6t5goLFq ElW4rGEVqSdB9r33CvfExBR/qcbwk3Jj2wOH8lQ/y5Sj5A3PfpgEAOH9I51HTV4Ffoks T7atolwuJFDdvMyk4U1WrEsn/0PU+hpz3QjOUyPonkk7f3ydUryXMTqABvOdusQ7fuNs 3JiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2ncP6r9SqbKvcu4jkl8YedIhqcVSgVT3D2xzDadpOcg=; b=JcgE1oN6OWLXTgG2uYGNtacJZMKDxN9dpc0P4Xg/D/xGV10DOKfdBza1aztGSkfaqs j6NWAT5XayBfqLZ1IpKoXwV1mYUXdg073LBi6IL0czisfDR6pE8GRuXzcCZWYzgrOQSV +Tb+2B8W4VWn01qIWMx1eo1Hze0qyTsmcYsNX8i6MeMkPKloY/i6eIGy5KZW8pIU/Kk4 GMQ4WVvnxkc+2AA8Yqfkk8gBcHfs8sQzU60myqjmHeuTntQGytXlUext4IDCrlxYYzNv wHfsmWPK81Hp6dydty7p9kbJQ3koKzFyKnPVW/HLqj11zBXOgusv3jO1voZmZWJcbpoZ ehjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DoFzgO64; 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 v6si22235259ota.19.2020.01.21.05.00.40; Tue, 21 Jan 2020 05:00:52 -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=DoFzgO64; 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 S1729279AbgAUM6Z (ORCPT + 99 others); Tue, 21 Jan 2020 07:58:25 -0500 Received: from mail-pl1-f176.google.com ([209.85.214.176]:33564 "EHLO mail-pl1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729261AbgAUM6W (ORCPT ); Tue, 21 Jan 2020 07:58:22 -0500 Received: by mail-pl1-f176.google.com with SMTP id ay11so1321600plb.0; Tue, 21 Jan 2020 04:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2ncP6r9SqbKvcu4jkl8YedIhqcVSgVT3D2xzDadpOcg=; b=DoFzgO64Gd7r+JsnXe/fx6QjTzX6ntcn15Wkna6QIgChMBa8/pParXQbpJo30julGb 648FZH28syWD+sToY+Q/kSQTSIY7l8pw6mhxZP13c8xwfa4N7Qj9Ce8GAfHmoRBBeoAx wQ/YifICtY0z6DQXTWIGAPwA413g7bbCLsy3r0E5KRfqie31iMjvjj1NC369C5+aJeTk rCukJyTs8JcStvWKm13QJckgWaJu5mcinps6x9MVbr05zw/1/AM/+uJyVTZ3yC1bn/kW 8H8PGgsij3zDtpKzAaCkKAGJPHRFqZdtpzxN4YhkJ37blSsGNESXO4INx/cd5w9LUKfj Kznw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2ncP6r9SqbKvcu4jkl8YedIhqcVSgVT3D2xzDadpOcg=; b=AtfMaRdI3uSQn1oza7EHClmDLkBpLHDv1JQOwLBPSr26gK+e8CiBBMC9f40/J4eJ1e QqQdf3vE7pV7nnz+os/pNZB8VQiNFKs6QGwtNVQ1KPDLgNXvJEkFyiGhA9cYvi22lCwf IO6HFqotmlQAqMHh403olz695eiKxcvjPnxDllGXHnxtBVg14dzoD3k0xPbsl8+VZsQM d5Efq9ItF6n3JvHbSZDf4m2k1l7Ep/tiTunM6FEJEJj0YT5nS7Ot6Vr6k/5E0Z1WL1I2 Cn7KZs94RZGT+bzlKywW03k1YVR2eH7VRvhniXdmp6MbCOHMaM23z51iWxfrqb1QgKk4 N0xQ== X-Gm-Message-State: APjAAAV5RuLqNOrzDqFVTwhvAHGCwqwiMlC4WmYuqUDShXcNoPiUXUpy 3MSTHX7+Y0lReCLAZMwCH+04yg0N X-Received: by 2002:a17:90a:222c:: with SMTP id c41mr5078929pje.35.1579611501924; Tue, 21 Jan 2020 04:58:21 -0800 (PST) Received: from localhost.localdomain ([221.146.116.86]) by smtp.gmail.com with ESMTPSA id v4sm43130132pfn.181.2020.01.21.04.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 04:58:21 -0800 (PST) From: Namjae Jeon To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de, sj1557.seo@samsung.com, pali.rohar@gmail.com, arnd@arndb.de, namjae.jeon@samsung.com, viro@zeniv.linux.org.uk, Namjae Jeon Subject: [PATCH v13 11/13] exfat: add Kconfig and Makefile Date: Tue, 21 Jan 2020 21:57:25 +0900 Message-Id: <20200121125727.24260-12-linkinjeon@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200121125727.24260-1-linkinjeon@gmail.com> References: <20200121125727.24260-1-linkinjeon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Namjae Jeon This adds the Kconfig and Makefile for exfat. Signed-off-by: Namjae Jeon Signed-off-by: Sungjong Seo Reviewed-by: Pali Rohár Reviewed-by: Christoph Hellwig --- fs/Kconfig | 3 ++- fs/Makefile | 1 + fs/exfat/Kconfig | 21 +++++++++++++++++++++ fs/exfat/Makefile | 8 ++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 fs/exfat/Kconfig create mode 100644 fs/exfat/Makefile diff --git a/fs/Kconfig b/fs/Kconfig index a3f97ca2bd46..2f14a04ad91d 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -140,9 +140,10 @@ endmenu endif # BLOCK if BLOCK -menu "DOS/FAT/NT Filesystems" +menu "DOS/FAT/EXFAT/NT Filesystems" source "fs/fat/Kconfig" +source "fs/exfat/Kconfig" source "fs/ntfs/Kconfig" endmenu diff --git a/fs/Makefile b/fs/Makefile index 007377f28090..17eb9d6ac886 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_HUGETLBFS) += hugetlbfs/ obj-$(CONFIG_CODA_FS) += coda/ obj-$(CONFIG_MINIX_FS) += minix/ obj-$(CONFIG_FAT_FS) += fat/ +obj-$(CONFIG_EXFAT_FS) += exfat/ obj-$(CONFIG_BFS_FS) += bfs/ obj-$(CONFIG_ISO9660_FS) += isofs/ obj-$(CONFIG_HFSPLUS_FS) += hfsplus/ # Before hfs to find wrapped HFS+ diff --git a/fs/exfat/Kconfig b/fs/exfat/Kconfig new file mode 100644 index 000000000000..f2b0cf2c16b5 --- /dev/null +++ b/fs/exfat/Kconfig @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +config EXFAT_FS + 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_DEFAULT_IOCHARSET + string "Default iocharset for exFAT" + default "utf8" + depends on EXFAT_FS + help + Set this to the default input/output character set to use for + converting between the encoding is used for user visible filename and + UTF-16 character that exfat filesystem 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..ed51926a4971 --- /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_FS) += exfat.o + +exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \ + file.o balloc.o -- 2.17.1