OpenCloudOS-Kernel/fs/f2fs
Eric Biggers f874fa1c7c f2fs: split f2fs_d_compare() from f2fs_match_name()
Sharing f2fs_ci_compare() between comparing cached dentries
(f2fs_d_compare()) and comparing on-disk dentries (f2fs_match_name())
doesn't work as well as intended, as these actions fundamentally differ
in several ways (e.g. whether the task may sleep, whether the directory
is stable, whether the casefolded name was precomputed, whether the
dentry will need to be decrypted once we allow casefold+encrypt, etc.)

Just make f2fs_d_compare() implement what it needs directly, and rework
f2fs_ci_compare() to be specialized for f2fs_match_name().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-05-11 20:36:46 -07:00
..
Kconfig f2fs: compress: support lzo-rle compress algorithm 2020-05-11 20:36:46 -07:00
Makefile f2fs: support data compression 2020-01-17 16:48:07 -08:00
acl.c f2fs: Replace spaces with tab 2019-05-08 21:23:11 -07:00
acl.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
checkpoint.c f2fs: support read iostat 2020-04-17 09:17:00 -07:00
compress.c f2fs: compress: support lzo-rle compress algorithm 2020-05-11 20:36:46 -07:00
data.c f2fs: introduce f2fs_bmap_compress() 2020-05-08 06:55:57 -07:00
debug.c f2fs: show mounted time 2020-03-19 11:41:25 -07:00
dir.c f2fs: split f2fs_d_compare() from f2fs_match_name() 2020-05-11 20:36:46 -07:00
extent_cache.c f2fs: introduce f2fs_<level> macros to wrap f2fs_printk() 2019-07-02 15:40:40 -07:00
f2fs.h f2fs: split f2fs_d_compare() from f2fs_match_name() 2020-05-11 20:36:46 -07:00
file.c f2fs: support partial truncation on compressed inode 2020-05-08 06:55:56 -07:00
gc.c f2fs: support read iostat 2020-04-17 09:17:00 -07:00
gc.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
hash.c f2fs: Support case-insensitive file name lookups 2019-08-23 07:57:13 -07:00
inline.c f2fs: don't leak filename in f2fs_try_convert_inline_dir() 2020-05-11 20:36:46 -07:00
inode.c f2fs: fix potential .flags overflow on 32bit architecture 2020-03-30 20:46:25 -07:00
namei.c f2fs: don't call fscrypt_get_encryption_info() explicitly in f2fs_tmpfile() 2020-03-30 20:46:24 -07:00
node.c f2fs: support read iostat 2020-04-17 09:17:00 -07:00
node.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
recovery.c f2fs: introduce DEFAULT_IO_TIMEOUT 2020-03-19 11:41:26 -07:00
segment.c f2fs: Fix the accounting of dcc->undiscard_blks 2020-04-17 09:17:00 -07:00
segment.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
shrinker.c f2fs: fix inconsistent comments 2020-03-10 09:18:33 -07:00
super.c f2fs: compress: support lzo-rle compress algorithm 2020-05-11 20:36:46 -07:00
sysfs.c f2fs: support read iostat 2020-04-17 09:17:00 -07:00
trace.c f2fs: do not use mutex lock in atomic context 2019-03-05 19:58:06 -08:00
trace.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00
verity.c fs-verity: implement readahead of Merkle tree pages 2020-01-14 13:27:32 -08:00
xattr.c f2fs: use kmem_cache pool during inline xattr lookups 2020-03-22 21:16:27 -07:00
xattr.h f2fs: Use the correct style for SPDX License Identifier 2020-05-08 06:55:55 -07:00