diff options
author | 2021-03-13 11:33:48 +0800 | |
---|---|---|
committer | 2021-03-14 14:09:49 +0100 | |
commit | 63d6c98168916f0c18f7bb7a28e27efd95524409 (patch) | |
tree | f2e14e25487dbec5e027109f9117ad1d31b2c7e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: clean up CONFIG_MIPS_PGD_C0_CONTEXT handling (diff) | |
download | linux-dev-63d6c98168916f0c18f7bb7a28e27efd95524409.tar.xz linux-dev-63d6c98168916f0c18f7bb7a28e27efd95524409.zip |
mips: kernel: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()
debugfs_create_file_unsafe does not protect the fops handed to it
against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of
the file lifetime and thus protects it against removal.
Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions