Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19401140rwd; Wed, 28 Jun 2023 08:51:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54qY2h8kKD7k13cFlthVzm5hfrZQvdv+ziWUdbqGUFO73T/GsOdT9S5AqsEK5v3vVgSLao X-Received: by 2002:a17:903:1246:b0:1b6:a4d4:b15d with SMTP id u6-20020a170903124600b001b6a4d4b15dmr11364125plh.12.1687967489710; Wed, 28 Jun 2023 08:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687967489; cv=none; d=google.com; s=arc-20160816; b=i4m9veRc2CGQQ4xW/yhRi2aamyekAQ9ftnlZ7dq7QYoeTOuI3r0imp24qHju2NMeEE qm8iojbnB0O3nHroUzQl8ix06jy03rfl82fxXXJ98zGB68oU4nosN5BVB8/ZwO81w5Ir YLv2FpzB+YfssUvg30Mt30U/uNWFdLxKjFnBz9jTjssGonXQ6lNbN0bpSA61xepTUl8M M1fPwTTs4cy5g8bcsGHx+aBjRgwpUZdaAgC4/MJJ3g1cezrC/YewPlWe09baMRbkBHmE EQEVytdI9+6LZiIIq6j4gK2cktiM/FE1mC5MmR8NzsfxJaujGKyVgjq3Exi0vC7gOz2T ulQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DBTIfrxMdKKM9sBHIVJZO9vzHO75jz/0ZU+aMpxxKZE=; fh=tOdvtnjhltsELi7JKW6VDkL+a+4UF1NegKJVTHUPNpk=; b=y461MZOsSc07GSdz8Il/WoM6ULteF0BJtQ6Pi6EB93pABSA3eiRlWHflh++bSd3ITJ zY4MqxPt4qhf/e8rF79eKl8//IL30zztFp93U0HjvZMm+tLjPaKnn5FwilAvlZEuhrgv GL1I84knpil99u+TGB5nrQfMg4JAYAVfiWave/usA14UnCZe7Oroel4iBkVzGhqOfENJ TLMuae8PspGWTQAPgo0iwUhWEBvLzK4axW8jjJ1chXw5RGdiLD0ymLCLVewMeYKnQion vlfOEqNJkDBw7RFqeBquBlDZq+Lr3HFZwtk5Yza6c9zcI+CxtlnmfMl/OrHFSYjJnaDF MLBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=momUJteb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170902d88f00b001b01276a0bcsi8848851plz.51.2023.06.28.08.51.16; Wed, 28 Jun 2023 08:51:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=momUJteb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbjF1PNq (ORCPT + 99 others); Wed, 28 Jun 2023 11:13:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231439AbjF1PNo (ORCPT ); Wed, 28 Jun 2023 11:13:44 -0400 Received: from mx.treblig.org (unknown [IPv6:2a00:1098:5b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 290CFA1; Wed, 28 Jun 2023 08:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DBTIfrxMdKKM9sBHIVJZO9vzHO75jz/0ZU+aMpxxKZE=; b=momUJtebq9yrc3OXvovd16djTJ C2HZNqgjC41tWcLJkC0tbgDnDWHGEw49Oh4Z31tXD0nUhJpCz8kAg9dEcnanu0mDSfUq4o9gVap5F VV+KfCoRy7wgdrot4IZ8s5qCAXFDc6d0IUqKAf9zaEKhv/lq3ef7LwcSblm7C8nw2mL2Oj7rwPUkX dM65UjPbEl+047Kv+AKU7ZFlitQ06kT8qepIxE88HYf7PQueJZphHs4z5ovkW8EvzNZ45OnsPzViK /7sf0rAiDmoRmcXMkyesoJcXXVY1X2QHwa0v97dNpB3Gp1FfxmZdYSPxjUxCCDELjCqaNVCUckCGK SdWmijyg==; Received: from dg by mx.treblig.org with local (Exim 4.94.2) (envelope-from ) id 1qEWr9-00GTya-Gw; Wed, 28 Jun 2023 15:13:19 +0000 Date: Wed, 28 Jun 2023 15:13:19 +0000 From: "Dr. David Alan Gilbert" To: Steve French Cc: Dave Kleikamp , krisman@collabora.com, Tom Talpey , sfrench@samba.org, linux-cifs@vger.kernel.org, jfs-discussion@lists.sourceforge.net, linkinjeon@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [Jfs-discussion] [PATCH 0/3] dedupe smb unicode files Message-ID: References: <20230628011439.159678-1-linux@treblig.org> <9343462e-6a4a-ca7b-03b8-4855e5a33b72@talpey.com> <90f35697-5941-d42d-b600-245454cbd040@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/5.10.0-21-amd64 (x86_64) X-Uptime: 15:12:06 up 101 days, 1:46, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/2.0.5 (2021-01-21) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steve French (smfrench@gmail.com) wrote: > On Wed, Jun 28, 2023 at 9:40 AM Dr. David Alan Gilbert > wrote: > > > > Actually, would you be ok with smb_unicode_common ? The reason is that > > > > you end up with a module named unicode_common that sounds too generic. > > > > > > I'd suggest make it generic and move it to fs/nls/. I'd run it by the nls > > > maintainers, but I don't think there are any. > > > > Steve & Tom - would you be OK with that? > > Yes - absolutely OK. > > (Copying in Gabriel Bertazi, owner of fs/unicode; although this isn't > > utf-8) > > Unicode UCS-2 (I'm going to regret the next question...) So how does this compare to the stuff in include/linux/ucs2_string.h and lib/ucs2_string.c ? Dave > > -- > Thanks, > > Steve -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/