diff options
author | Marco Elver <[email protected]> | 2021-03-03 10:38:45 +0100 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-03-08 14:27:43 -0800 |
commit | e36299efe7d749976fbdaaf756dee6ef32543c2c (patch) | |
tree | c92c7b27b9c35ea455a03ba99270caa65322b505 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
kcsan, debugfs: Move debugfs file creation out of early init
Commit 56348560d495 ("debugfs: do not attempt to create a new file
before the filesystem is initalized") forbids creating new debugfs files
until debugfs is fully initialized. This means that KCSAN's debugfs
file creation, which happened at the end of __init(), no longer works.
And was apparently never supposed to work!
However, there is no reason to create KCSAN's debugfs file so early.
This commit therefore moves its creation to a late_initcall() callback.
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: stable <[email protected]>
Fixes: 56348560d495 ("debugfs: do not attempt to create a new file before the filesystem is initalized")
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions