From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 079C0C433DF for ; Wed, 24 Jun 2020 04:35:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C47142078E for ; Wed, 24 Jun 2020 04:35:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wogyP6c6"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="ATg4ot7i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C47142078E Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:From:Subject:Mime-Version:Message-Id:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=PjoggME8uMh53jz4dcSIxpbFGGxtIMYhN6NdQBgKXC8=; b=wogyP6c6aL0pKu69SB8+R/DQCM mqOvEoK7KYTCOL/2w/PAfcu3PRvU4jO+9o9BsxhzmM8NUYhc+/5n453g6u48J3nrqHxSDEJq529tv W47idflbiZTtBZ3S8jQ2qCHFG80CT0+h9xBCSEwWq42BrCWNvH81ttgSMNUZV0Ajm/784+MHOiz2b 9TcJNYSBkk+azyHmA0gh0sYOu53QeR8wQNx1MhsuwKSeHlkcHxKkzS42Iy68uglOCRB7rp33Nd69i WR/0cXFczzrDzirRGINio/lT0rL+nKFUJzupNpD6Kb8gXB85s/kERtY8aBB1S7WxAzwgib+oBxVXE Tp5CAZBQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnx6o-0002JP-R7; Wed, 24 Jun 2020 04:34:02 +0000 Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnx6l-0002HJ-Hf for linux-mtd@lists.infradead.org; Wed, 24 Jun 2020 04:34:00 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id e82so994766ybh.12 for ; Tue, 23 Jun 2020 21:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=VIhRPUc686EfpzyL1ZkpMu0h/tTzQnqLcgbnZ2tSukA=; b=ATg4ot7iQfZhD7VJCToYCJEq0+HHgex7Fu5otS5NIVKN8IP1NunyBFhinY6vJQmpWp 4Ij36w/kSxOzIDs1lg4m4ranBcUkYgjgGqDBqZtXEgUF/A6viuow4yzNYWkxxGRvlpWC mmIuA8xMCysfmJgO6z/8XuIDppG81o+uGO/b1g0+chDgAnIrr/7wD3ZVV8Vz040+E4+Z OdVyjEqMLwNTcMPpg5aX3GyMmWgYDsyC79JWjtqgCg9JBAfM0b3dFkEJ4zIsj8DZBgV0 XSQbXGyBLB4NyxkGBW2KMLsu3Za4MN22eTnqS9Z/oFfinJGodSjpc65NAWPD+W0KoXtQ L6Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=VIhRPUc686EfpzyL1ZkpMu0h/tTzQnqLcgbnZ2tSukA=; b=eAyI98JwhdIDXBxliVpDFdf0yUpd0Pq3n9faUIvdzTjKmPs01IN9JBdxcaOD+xmM98 seKa68399Yp5BkaQOgGHa6+cKyJBgsrdjJphR84CoFqDAC582rSkpISYIKOfDUbz1ApO JSwdyhepI+0gNI4pEmhox3Z7QtwuQkZbMZJgR6kFX1eR4IKqDL/nCfbZ3/LgaRhlqAOg S35vHJOYf3T947kteQLYR4gpZSo0MDpr+Cim1rHLiiE20RTP0RFqOkzaNPZwQr9LZQ8B Zklv2+h5caV8XdB2fO3eYi/29za4IiRCg56BDJYSriqmvFN+HPXICvxJ+Egr+I1JX9QY D8bg== X-Gm-Message-State: AOAM5325JQk8vhKJaSbxsIxhVGAFC92nxfAYjd5cBVC9tLS4ZopxEWUo OjC+r59Koc2ny2+FN+9JO298BbqN/Vc= X-Google-Smtp-Source: ABdhPJzqZudoyjfwmOnuXUVebSWSY1PkS5+3B30QL46yfijJWtmCuoeOhxK7BwlRH7FbBAlVw+Pj75yPbZ4= X-Received: by 2002:a25:b8b:: with SMTP id 133mr42829755ybl.373.1592973235828; Tue, 23 Jun 2020 21:33:55 -0700 (PDT) Date: Tue, 23 Jun 2020 21:33:37 -0700 Message-Id: <20200624043341.33364-1-drosen@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.27.0.111.gc72c7da667-goog Subject: [PATCH v9 0/4] Prepare for upcoming Casefolding/Encryption patches From: Daniel Rosenberg To: "Theodore Ts'o" , linux-ext4@vger.kernel.org, Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, Eric Biggers , linux-fscrypt@vger.kernel.org, Alexander Viro , Richard Weinberger X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Rosenberg , linux-doc@vger.kernel.org, kernel-team@android.com, Jonathan Corbet , linux-kernel@vger.kernel.org, Andreas Dilger , linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, Gabriel Krisman Bertazi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org This lays the ground work for enabling casefolding and encryption at the same time for ext4 and f2fs. A future set of patches will enable that functionality. These unify the highly similar dentry_operations that ext4 and f2fs both use for casefolding. Daniel Rosenberg (4): unicode: Add utf8_casefold_hash fs: Add standard casefolding support f2fs: Use generic casefolding support ext4: Use generic casefolding support fs/ext4/dir.c | 64 +------------------------ fs/ext4/ext4.h | 12 ----- fs/ext4/hash.c | 2 +- fs/ext4/namei.c | 20 ++++---- fs/ext4/super.c | 12 ++--- fs/f2fs/dir.c | 84 ++++----------------------------- fs/f2fs/f2fs.h | 4 -- fs/f2fs/super.c | 10 ++-- fs/f2fs/sysfs.c | 10 ++-- fs/libfs.c | 101 ++++++++++++++++++++++++++++++++++++++++ fs/unicode/utf8-core.c | 23 ++++++++- include/linux/f2fs_fs.h | 3 -- include/linux/fs.h | 22 +++++++++ include/linux/unicode.h | 3 ++ 14 files changed, 186 insertions(+), 184 deletions(-) -- 2.27.0.111.gc72c7da667-goog ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/