Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp884499pxf; Wed, 7 Apr 2021 14:06:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynvT2y2lb7SAkpWhTyirPtT8Wl+fHo2xLjfZvi0OOQOT4Df72vlC8XOsQOyPlJwAzf4m5o X-Received: by 2002:a63:470f:: with SMTP id u15mr4948483pga.199.1617829613644; Wed, 07 Apr 2021 14:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617829613; cv=none; d=google.com; s=arc-20160816; b=NT9FSP/aTYTNG6LrjX/46Cr70X/B9IzEFLlD9Qi5wmdGeDd91Lnzz5E7OXCmqLneKi Yjao4oDJ4uKdToSDE7kYC4VRHRt8kk05ZfvP8kmJ4CDMFaqu6XPFjJFm10Vu+sH4Qu/s Hm6Oh9tTPFRZXwIiN31uipXeeHJiYV2weTrUIHuumOlGdmfTiom+Q0lqJvR2S6UncQ7H KF1VwdWBslT0JNokPcGci/8nhHmzwC2lJJufhhdnENaU0BykLL1QXyv7RI/xeXZ36kMe o/MIse48Pg5Hg0wbLjPz0pAJMNtnd3yUHmvKLv6oj4p/92UJOFkZEynJFp1PekZG27FS Ayyg== 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:cc:to:from; bh=Z/AKpGndu61GmQKrwfkML06X2qpS37eR0tFptq12Src=; b=zSzI7O7ZaGllLu0TDpEibXf6PB8wUKVs1B0CIHwUw42aANpPVdTKs67+np6U+FaJcU 8osz8pyxHDjrW3Czwy0RwZzKa0CpvuyM5gt/i1aSjsIPhex4qVCocE+93xJ7K4vLD/F/ ZMHzJpx07SQ0SxrACEv4ZAu/qLJ6t0CjpFnfwj6k6RU8f5gLOvY5FQzsAMQlYG1JCOwA Ua3OBCD4j07f8l8T1NWpX8wvfNk4rfchFIqb0+RxSgZbzYxv+om5eG37vwBzJde6Gd7V jqDe8fwna34IzMjJ106FoIWAoWTpgHVd50RsOpB3Xwaz2RQePyoUCjySir1qn538oZaD B1Cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m75si10653062pga.234.2021.04.07.14.06.33; Wed, 07 Apr 2021 14:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344916AbhDGOuR (ORCPT + 99 others); Wed, 7 Apr 2021 10:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348811AbhDGOtt (ORCPT ); Wed, 7 Apr 2021 10:49:49 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AB38C06175F; Wed, 7 Apr 2021 07:49:32 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: shreeya) with ESMTPSA id 591591F4509A From: Shreeya Patel To: tytso@mit.edu, adilger.kernel@dilger.ca, jaegeuk@kernel.org, chao@kernel.org, krisman@collabora.com, ebiggers@google.com, drosen@google.com, ebiggers@kernel.org, yuchao0@huawei.com Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, kernel@collabora.com, andre.almeida@collabora.com Subject: [PATCH v7 3/4] fs: unicode: Rename utf8-core file to unicode-core Date: Wed, 7 Apr 2021 20:18:44 +0530 Message-Id: <20210407144845.53266-4-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210407144845.53266-1-shreeya.patel@collabora.com> References: <20210407144845.53266-1-shreeya.patel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions and it is not necessary to carry this large table in the kernel. Goal is to make UTF-8 encoding loadable by converting it into a module and adding a unicode subsystem layer between the filesystems and the utf8 module. This layer will load the module whenever any filesystem that needs unicode is mounted. Currently, only UTF-8 encoding is supported but if any other encodings are supported in future then the layer file would be responsible for loading the desired encoding module. Rename the file name from utf8-core to unicode-core for transformation of utf8-core file into the unicode subsystem layer file and also for better understanding. Implementation for unicode-core file to act as layer will be added in the future patches. Signed-off-by: Shreeya Patel --- fs/unicode/Makefile | 2 +- fs/unicode/{utf8-core.c => unicode-core.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename fs/unicode/{utf8-core.c => unicode-core.c} (100%) diff --git a/fs/unicode/Makefile b/fs/unicode/Makefile index b88aecc86550..fbf9a629ed0d 100644 --- a/fs/unicode/Makefile +++ b/fs/unicode/Makefile @@ -3,7 +3,7 @@ obj-$(CONFIG_UNICODE) += unicode.o obj-$(CONFIG_UNICODE_NORMALIZATION_SELFTEST) += utf8-selftest.o -unicode-y := utf8-norm.o utf8-core.o +unicode-y := utf8-norm.o unicode-core.o $(obj)/utf8-norm.o: $(obj)/utf8data.h diff --git a/fs/unicode/utf8-core.c b/fs/unicode/unicode-core.c similarity index 100% rename from fs/unicode/utf8-core.c rename to fs/unicode/unicode-core.c -- 2.30.2