OSDN Git Service

f2fs: Show casefolding support only when supported
authorDaniel Rosenberg <drosen@google.com>
Thu, 3 Jun 2021 09:50:37 +0000 (09:50 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Jun 2021 08:09:34 +0000 (01:09 -0700)
commit39307f8ee3539478c28e71b4909b5b028cce14b1
treeffc7741f30e2c3f0a6c394eee09454a1236e3706
parenta7d9fe3c33887085a2e10c085d378126314dc222
f2fs: Show casefolding support only when supported

The casefolding feature is only supported when CONFIG_UNICODE is set.
This modifies the feature list f2fs presents under sysfs accordingly.

Fixes: 5aba54302a46 ("f2fs: include charset encoding information in the superblock")
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c