[PATCH v10 0/4] Prepare for upcoming Casefolding/Encryption patches
From: Daniel Rosenberg
Date: Tue Jul 07 2020 - 07:45:14 EST
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. In addition, they improve d_hash by not requiring a
new string allocation, and ensure we don't attempt to casefold the no-key
token of an encrypted filename.
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 | 83 ++++-------------------------------
fs/f2fs/f2fs.h | 4 --
fs/f2fs/super.c | 10 ++---
fs/f2fs/sysfs.c | 10 +++--
fs/libfs.c | 96 +++++++++++++++++++++++++++++++++++++++++
fs/unicode/utf8-core.c | 23 +++++++++-
include/linux/f2fs_fs.h | 3 --
include/linux/fs.h | 16 +++++++
include/linux/unicode.h | 3 ++
14 files changed, 174 insertions(+), 184 deletions(-)
--
2.27.0.212.ge8ba1cc988-goog