]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Only advertise encrypted_casefold when encryption and unicode are enabled
authorDaniel Rosenberg <drosen@google.com>
Thu, 3 Jun 2021 09:48:49 +0000 (09:48 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 6 Jun 2021 14:10:23 +0000 (10:10 -0400)
commit91ef96a9c8f616f29275e863195feb33f7a9ddb0
tree67d2887a4830009321f3c5febd3e73db11c6ac9f
parent80df70d32aef540ec3acdc76155061f5246df4f4
ext4: Only advertise encrypted_casefold when encryption and unicode are enabled

Encrypted casefolding is only supported when both encryption and
casefolding are both enabled in the config.

Fixes: 6014b5b6422e ("ext4: handle casefolding with encryption")
Cc: stable@vger.kernel.org # 5.13+
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Link: https://lore.kernel.org/r/20210603094849.314342-1-drosen@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/sysfs.c