From patchwork Thu Feb 8 06:43:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 20087 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2726530dyb; Wed, 7 Feb 2024 22:45:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGwIO8IFTtzwB1w1fsCH2O7s/bkjbfIg3rgHoflh+NBsytZ45vToRgP9iWsF14dmk5hQTW X-Received: by 2002:a05:6402:4308:b0:560:dbcd:61de with SMTP id m8-20020a056402430800b00560dbcd61demr4198287edc.12.1707374730859; Wed, 07 Feb 2024 22:45:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707374730; cv=pass; d=google.com; s=arc-20160816; b=DNyljgkC74wq7ZmVmVn/R2wO1rms+WcL9KqYym3jZv6ViVTZU2Aw4p2dtgj4593jbD QlKblx1VgEGy8fg0t77NtSWpoqzE8yXC5tnID6e1tUs7XJt858tYtYyse7sdhYptzjuS OGzihOlvVKx/SLmAncivsVNVIKi3CtNDiWr3iSXB/D4dCnB0odv20fWw/JPWkziLTlIx Y1ivA/BHLrJr/sjkNpVcGQhM6D+1x93aWaN5J/waFQntmWkSLiKeF+lRlDpa0rvOQ7qi S6HqAQ3t0ZOaWT0tELGNtOtZ9+7HQHpD5Xgmrj+aMqrxTa/NVyt5gKonu5JPTY7gQrx9 bOZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=f+FcTbIEv56Dj6aX2RKWItIsNCgw6/TPuqj19j/LdyQ=; fh=DLFM97YgZ/MsMgrFJbMu9zMUk1YVSJsBDWGHjf53IOg=; b=cbskhWDmd4VxrcvLL4lmp9qZqncFg9CYe0bQfSRe530u7i2SS11WoHURsMYRNLhpMe oebbUxecpAiVGe47oTgY9KVmoFN/yyBnqY0OTLUuET5L5B209skyOdWnD2TX4c14sw3y KupIYYCfhkae+gOOx48Hxcq3QHvEefijhgIhzjUo0RE70mfbakTxtTZTdnaj2RW1CVI4 V2XJ6DSTOoXgiMqBcpMj8zVMN4byoe9Gh/oobARzRd9gVKy+tRicc8BZCGh0Ctpg5daR BPT2gLWW++gFuEDona9CoLlo5+eR6IqhRdNKt7+jWCjMLBWbDLnCfw0muL57ooU1Adyn 6o/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YdLmn1bf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-57529-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57529-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCWaaQgnx1nOjXvZ13UvTFc+byUcdCeYwQ2vfLp/Wz61R/qScBz+Dyw59KoR90zez6fHHzE6lEMZcP8jfBDNuKZplmBWow== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l4-20020a056402344400b00560e82e41e9si598162edc.516.2024.02.07.22.45.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 22:45:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57529-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YdLmn1bf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-57529-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57529-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 743501F23048 for ; Thu, 8 Feb 2024 06:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 681E869304; Thu, 8 Feb 2024 06:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="YdLmn1bf" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EF04692EE; Thu, 8 Feb 2024 06:45:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707374709; cv=none; b=cXOMmWiTGUgbS3SgZh/bcm3WCGJUDA1WhiPBwTGg2WBs7cZLlunq+/j82hKPXhuXrwXNqqLq88Jtw7ymtqVPtHs6PmZ4ucwV8m+Z90VYZ7VKOMNmkW5V9Y6tx6skdP9I4B7zVJuWFVW9STTtXSxsiawdWMhXOzTbPHtc3plEGN0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707374709; c=relaxed/simple; bh=g2xl39Fa4di9f+3GPmwdIPXkJ7s4ZyhPFbxxlwIu4U4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nuCtTHpEO8mUkY84XjR/0xKUAnTvkWbJZ6pNJSmdskpN9Zvr7LjeUfdpsZa8U2xI8y8uLlVIIyLiHuoLKIJKHzYm7EOGlvkDBj7d1t+4A7hsuOyGWkegknFcCFKJM+Bs79W7/DtNNeTKBE5BT3FcPZGUpBNQNhG4IQ3ud0RJDuo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=YdLmn1bf; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707374705; bh=g2xl39Fa4di9f+3GPmwdIPXkJ7s4ZyhPFbxxlwIu4U4=; h=From:To:Cc:Subject:Date:From; b=YdLmn1bfBfLUHw2MtKB7I1RRU6nmsLLkxjeiIjdUbpWZCnP6TDjYGRb85PHRPoV1s V3SZb6bDJpB8TZcP6K08NrO1TQAXpt8wvRQxZ++/AYZxULaMQ+QayQ7/+d1SO431iL oBw0GTjmvGuBN3/BgjxNDdNVoQ1huQISJrU6ahqhpd7AGo4oGIvnfTwIEzLJWCNWl/ ng7q1LzSNyo0vfPjFwB5cLwWoRzu7qLWSrfvV6SJDIZnUrfKOxKQF4uSd0VZf231dS ld9F38ipankNIsTQn5zFFJ3w+FlrNI1FiwtBoWs2WD5IrGrye/SEWT6A47v88JWqvE 6CoUPLncVg/DA== Received: from eugen-station.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ehristev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id C4817378045F; Thu, 8 Feb 2024 06:45:00 +0000 (UTC) From: Eugen Hristev To: tytso@mit.edu, adilger.kernel@dilger.ca, jaegeuk@kernel.org, chao@kernel.org, viro@zeniv.linux.org.uk, brauner@kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: jack@suse.cz, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, kernel@collabora.com, eugen.hristev@collabora.com Subject: [RESEND PATCH v9 0/3] Introduce case-insensitive string comparison helper Date: Thu, 8 Feb 2024 08:43:31 +0200 Message-Id: <20240208064334.268216-1-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790312165901599271 X-GMAIL-MSGID: 1790312165901599271 Hello, I am trying to respin the series here : https://www.spinics.net/lists/linux-ext4/msg85081.html To make it easier to apply I split it into smaller chunks which address one single thing. This series is based on top of the first series here: https://marc.info/?l=linux-ext4&m=170728813912935&w=2 This series commonizes on the string comparison match for casefolded strings. Gabriel Krisman Bertazi (3): libfs: Introduce case-insensitive string comparison helper ext4: Reuse generic_ci_match for ci comparisons f2fs: Reuse generic_ci_match for ci comparisons fs/ext4/namei.c | 91 ++++++++++++++-------------------------------- fs/f2fs/dir.c | 58 ++--------------------------- fs/libfs.c | 68 ++++++++++++++++++++++++++++++++++ include/linux/fs.h | 4 ++ 4 files changed, 103 insertions(+), 118 deletions(-)