diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2024-06-06 10:33:49 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-06-07 18:00:44 +0300 |
commit | 6a79a4e187bdd17959ff3e811d5de65c066f89e6 (patch) | |
tree | 825f3134fd606ea5127356a84d46a7ef7a1f8df6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 632f4054b229513cdbd1e29a54ddd96fe67d00df (diff) | |
download | linux-6a79a4e187bdd17959ff3e811d5de65c066f89e6.tar.xz |
libfs: Introduce case-insensitive string comparison helper
generic_ci_match can be used by case-insensitive filesystems to compare
strings under lookup with dirents in a case-insensitive way. This
function is currently reimplemented by each filesystem supporting
casefolding, so this reduces code duplication in filesystem-specific
code.
[eugen.hristev@collabora.com: rework to first test the exact match, cleanup
and add error message]
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Link: https://lore.kernel.org/r/20240606073353.47130-4-eugen.hristev@collabora.com
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions