Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18199997ybl; Thu, 2 Jan 2020 20:46:36 -0800 (PST) X-Google-Smtp-Source: APXvYqyeR1CNbqrC7GDaaxx9INNV0mTo/t13plJOse2qpuegnnVrcsiDeLeTT2X9rtf9KMu9q7PS X-Received: by 2002:a05:6830:1d91:: with SMTP id y17mr91475490oti.276.1578026796168; Thu, 02 Jan 2020 20:46:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578026796; cv=none; d=google.com; s=arc-20160816; b=WwWF0RKe/FU75hhJiviyVvE6OjQeApD87i3zQFaihB5MSXsso/gsPgrS79vulzyQZW +ept/IVli6VMYxrOx8aGD5paZex8Tu6F/DuBK0DXmqrX6r3EQXTboxcCmdV7UfFDVHUo ry/1FqwtMv8FqYPKpU5hsiDGu+9V7NoxKxmgsahnt5yAmgaBRSWdwBImZKH2iQiVgv4R wS8dI5rxKLZ521BiIjVTvEuUZtIf9zQwx/a4wL9a4BlJSiZ16YtoCdY6OsBVt4ovfU6a 02HpD4pavN6w3Nz8JDFTBR4T56nKPcCulw3z/opKDsGXYW8euLB0BvG9piI3AZ+4wUGM sD1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :thread-index:content-language:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:cc:to:from :dkim-signature:dkim-filter; bh=75O1crx9PoInAEcmq7qeyy4qEeoh27i5ezfCPmh3QS0=; b=JwYkU3maEuQ3scgk8wPtJ5E0+zbMv2NQm8bqRjEprsrpYctIj+T+oGc8PMCbBLtvSR ogTIR/TbGMTuYbZwiuPtuGxM5FfNL88Vlcr3FPYRcHSV+KfgpEhBXsd++ewdB3tqOd82 AhsddpZ8do1GolmFbpGiC4EGzM64Vc+wYI7+UrrrlNbi8X6x/492BEeekd1R9xWrBVk0 dDgkwHTsoJTjmAY+Y+0VLVkqRNNRrPte/kra+QE47+e8n4+T+IUKb9eOw0+4jAnuD519 ZmzJgux2/yH2ZPPlw0JCboua0ET87in8Ar/AWe6jmehhzARB4jBPKc8+iNYUtI75Iy1i O/6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CGpLkRlZ; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si22650116otq.94.2020.01.02.20.46.23; Thu, 02 Jan 2020 20:46:36 -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=@samsung.com header.s=mail20170921 header.b=CGpLkRlZ; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbgACEos (ORCPT + 99 others); Thu, 2 Jan 2020 23:44:48 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:38543 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgACEor (ORCPT ); Thu, 2 Jan 2020 23:44:47 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200103044445epoutp010be4f2196c68a766516ec760fa82ab47~mRujV5S990586705867epoutp01N for ; Fri, 3 Jan 2020 04:44:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200103044445epoutp010be4f2196c68a766516ec760fa82ab47~mRujV5S990586705867epoutp01N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1578026685; bh=75O1crx9PoInAEcmq7qeyy4qEeoh27i5ezfCPmh3QS0=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=CGpLkRlZC637fHfIxA1qO+hDY3IB80htmkPvWRTzz4D6JoY05wNh1jRDCp7F4EybK perfoksCSiAweg73MyUORrO9sOuTEBvTJdM2IUdZ+dRZkCRRulGL4/ParRgYDyJCND 9eYLtU2N9Y8iviqeZ/LwN56uPpkK3OY6tctryN6E= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20200103044444epcas1p302c57170b718d59bdb6d93e3ecd4a39c~mRuia8xU50196101961epcas1p3w; Fri, 3 Jan 2020 04:44:44 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.162]) by epsnrtp2.localdomain (Postfix) with ESMTP id 47pskz2TFhzMqYkh; Fri, 3 Jan 2020 04:44:43 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 57.CD.48019.BB6CE0E5; Fri, 3 Jan 2020 13:44:43 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200103044442epcas1p219334c376ffea9a151f3f5390f7d205c~mRuhDoG-e2124721247epcas1p2Z; Fri, 3 Jan 2020 04:44:42 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200103044442epsmtrp2fff97365cdd2ebfe349971e5bd392087~mRuhC95pm2213822138epsmtrp2R; Fri, 3 Jan 2020 04:44:42 +0000 (GMT) X-AuditID: b6c32a38-23fff7000001bb93-44-5e0ec6bbc664 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D8.7A.06569.AB6CE0E5; Fri, 3 Jan 2020 13:44:42 +0900 (KST) Received: from namjaejeon01 (unknown [10.88.104.63]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200103044442epsmtip18d906b74a0a6f924d702497289459fcc~mRug4b_oU2067520675epsmtip1B; Fri, 3 Jan 2020 04:44:42 +0000 (GMT) From: "Namjae Jeon" To: =?UTF-8?Q?'Pali_Roh=C3=A1r'?= Cc: , , , , , , In-Reply-To: <20200102142026.wb5glvnf5c7uweed@pali> Subject: RE: [PATCH v9 10/13] exfat: add nls operations Date: Fri, 3 Jan 2020 13:44:42 +0900 Message-ID: <002801d5c1f0$83ef7d80$8bce7880$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AQJSGi/S1M7UFBjz5N3SW71o+eawLwHz+Lr1AtmMBwQCdCwXw6alnvnA X-Brightmail-Tracker: H4sIAAAAAAAAA01SWUwTURTN60yng1J8FpBrjaZONMYFaS2FgYga16okYoy4RKljmUBjl0mn 4PZTYxSoBqmJGqpERSGxElGCCyKiuIsxURTjUsHEDSW4VECCMbYdjfyde94579z73qUJVQ2l pi12F++0c1aGGkZeuDFZm9h4OyZH27Mnht15opZiT52+JWOfBV4Q7JWmeyTbdvkIxXpbB2Vs /e+bcvbxl6/kHNrY4AsojM0VNQpj43M3ZSyt9yNjsG6cseViN5VFrbXOzOe5XN6p4e1mR67F npfBLF1hmmcypGh1ibo0NpXR2Dkbn8HMz8xKXGixhhpiNIWctSBEZXGiyCTNmul0FLh4Tb5D dGUwvJBrFXRaYbrI2cQCe950s8OWrtNqZxhCyg3W/MrWY0joGLHl7tWTpBv1RXtQFA04GXZ8 ekl60DBahS8h2NvlQ1LxHcHV29/lUtGHoMzfrvhn+XywRB7GKtyE4O7+dEnUFbKfq5GFDyic CL9/NVMeRNNxmIWju/RhDYGvIXhz5lzEHIX1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DQvXS85P3cT Izi+tLR2MJ44EX+IUYCDUYmHd8I13jgh1sSy4srcQ4wSHMxKIrzlgUAh3pTEyqrUovz4otKc 1OJDjNIcLErivPL5xyKFBNITS1KzU1MLUotgskwcnFINjN5swkfCW9mPL+dRknaInCLO0Vwy /1fU/Cde89Yw7IrefoDLpr3k029bBb63z1ZWL5xoHN/qPb/B+vmZhVHmaxRZtJdlFiXNOtz8 b7nq6mluybqyXDxKyj1NTAd2fhaU2BzLuGSVcuonTbNNOQ/2Lt7hpZZwwOX4ldIOdn3rAO7/ x6p9qm5XKbEUZyQaajEXFScCAKtxTRerAgAA X-CMS-MailID: 20200103044442epcas1p219334c376ffea9a151f3f5390f7d205c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200102082407epcas1p4cf10cd3d0ca2903707ab01b1cc523a05 References: <20200102082036.29643-1-namjae.jeon@samsung.com> <20200102082036.29643-11-namjae.jeon@samsung.com> <20200102142026.wb5glvnf5c7uweed@pali> 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:33 Namjae Jeon wrote: > > This adds the implementation of nls operations for exfat. > > > > Signed-off-by: Namjae Jeon > > Signed-off-by: Sungjong Seo > > --- > > fs/exfat/nls.c =7C 809 > > +++++++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 809 insertions(+) > > create mode 100644 fs/exfat/nls.c > > > > diff --git a/fs/exfat/nls.c b/fs/exfat/nls.c new file mode 100644 > > index 000000000000..af52328e28ff > > --- /dev/null > > +++ b/fs/exfat/nls.c > > =40=40 -0,0 +1,809 =40=40 > > +// SPDX-License-Identifier: GPL-2.0-or-later > > +/* > > + * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. > > + */ > > + > > +=23include > > +=23include > > +=23include > > +=23include > > +=23include > > + > > +=23include =22exfat_raw.h=22 > > +=23include =22exfat_fs.h=22 > > + > > +/* Upcase tabel macro */ > > +=23define EXFAT_NUM_UPCASE (2918) > > +=23define UTBL_COUNT (0x10000) > > + > > +/* > > + * Upcase table in compressed format (7.2.5.1 Recommended Up-case > > +Table > > + * in exfat specification, See: > > +https://protect2.fireeye.com/url?k=3D25cbd240-78ac9666-25ca590f-0cc47a= 3 > > +1384a-776465f5f2917059&u=3Dhttps://docs.microsoft.com/en-us/windows/ > > + * win32/fileio/exfat-specification). >=20 > Just a small suggestion: Do not wrap URLs as they are hard to copy-paste > into web browser. Also my email client is not able to detect URL continue > on next line... Okay, Will fix it on next version. Thanks for review=21 >=20 > > + */ > > +static const unsigned short uni_def_upcase=5BEXFAT_NUM_UPCASE=5D =3D = =7B > > + 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, > > + 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, >=20 > ... >=20 > -- > Pali Roh=C3=A1r=0D=0A>=20pali.rohar=40gmail.com=0D=0A=0D=0A