summaryrefslogtreecommitdiffstats
path: root/tools/thermal
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2016-10-13 05:24:51 +0200
committerTheodore Ts'o <tytso@mit.edu>2016-10-13 05:24:51 +0200
commitc4704a4fbe834eee4109ca064131d440941f6235 (patch)
treea5f4bccc9c151ba68bca4a090704451fb6b95d98 /tools/thermal
parentjbd2: fix incorrect unlock on j_list_lock (diff)
downloadlinux-c4704a4fbe834eee4109ca064131d440941f6235.tar.xz
linux-c4704a4fbe834eee4109ca064131d440941f6235.zip
ext4: do not advertise encryption support when disabled
The sysfs file /sys/fs/ext4/features/encryption was present on kernels compiled with CONFIG_EXT4_FS_ENCRYPTION=n. This was misleading because such kernels do not actually support ext4 encryption. Therefore, only provide this file on kernels compiled with CONFIG_EXT4_FS_ENCRYPTION=y. Note: since the ext4 feature files are all hardcoded to have a contents of "supported", it really is the presence or absence of the file that is significant, not the contents (and this change reflects that). Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions