diff options
author | Daniel Rosenberg <drosen@google.com> | 2020-07-08 02:12:35 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-09-10 14:03:31 -0700 |
commit | c843843e714c8f17280d7db009412b1b1baf448b (patch) | |
tree | 598f8c20cfdda107eefed04806c9d0197b71bf06 /fs/f2fs/sysfs.c | |
parent | 3d7bfea8b8378277a25b42b28fe5a2a5ca76a7cf (diff) | |
download | linux-stable-c843843e714c8f17280d7db009412b1b1baf448b.tar.gz linux-stable-c843843e714c8f17280d7db009412b1b1baf448b.tar.bz2 linux-stable-c843843e714c8f17280d7db009412b1b1baf448b.zip |
fs: Add standard casefolding support
This adds general supporting functions for filesystems that use
utf8 casefolding. It provides standard dentry_operations and adds the
necessary structures in struct super_block to allow this standardization.
The new dentry operations are functionally equivalent to the existing
operations in ext4 and f2fs, apart from the use of utf8_casefold_hash to
avoid an allocation.
By providing a common implementation, all users can benefit from any
optimizations without needing to port over improvements.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/sysfs.c')
0 files changed, 0 insertions, 0 deletions