summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2020-07-08 12:12:36 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-09-11 00:03:31 +0300
commiteca4873ee1b63ee051e0eed91099fa42c97b2438 (patch)
tree53a79dd84b5d34746fdc2255b3d2e8a9638549b0 /include
parentc843843e714c8f17280d7db009412b1b1baf448b (diff)
downloadlinux-eca4873ee1b63ee051e0eed91099fa42c97b2438.tar.xz
f2fs: Use generic casefolding support
This switches f2fs over to the generic support provided in the previous patch. Since casefolded dentries behave the same in ext4 and f2fs, we decrease the maintenance burden by unifying them, and any optimizations will immediately apply to both. 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 'include')
-rw-r--r--include/linux/f2fs_fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 3c383ddd92dd..a5dbb57a687f 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -38,9 +38,6 @@
#define F2FS_MAX_QUOTAS 3
#define F2FS_ENC_UTF8_12_1 1
-#define F2FS_ENC_STRICT_MODE_FL (1 << 0)
-#define f2fs_has_strict_mode(sbi) \
- (sbi->s_encoding_flags & F2FS_ENC_STRICT_MODE_FL)
#define F2FS_IO_SIZE(sbi) (1 << F2FS_OPTION(sbi).write_io_size_bits) /* Blocks */
#define F2FS_IO_SIZE_KB(sbi) (1 << (F2FS_OPTION(sbi).write_io_size_bits + 2)) /* KB */