diff options
author | Vladis Dronov <vdronov@redhat.com> | 2020-08-11 17:01:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-04 18:12:52 +0200 |
commit | e3b9fc7eec55e6fdc8beeed18f2ed207086341e2 (patch) | |
tree | 9284d27813eeb7052edba394c0ccf9e4af2df8db /tools/testing/radix-tree/linux/kernel.h | |
parent | 40b8b826a6998639dd1c26f0e127f18371e1058d (diff) |
debugfs: Fix module state check condition
The '#ifdef MODULE' check in the original commit does not work as intended.
The code under the check is not built at all if CONFIG_DEBUG_FS=y. Fix this
by using a correct check.
Fixes: 275678e7a9be ("debugfs: Check module state before warning in {full/open}_proxy_open()")
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200811150129.53343-1-vdronov@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions