diff options
| author | Greg Kroah-Hartman <[email protected]> | 2021-02-18 10:08:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-02-18 15:23:49 +0000 |
| commit | 56348560d495d2501e87db559a61de717cd3ab02 (patch) | |
| tree | 603c1a3eebb8164517317fa647f180d8b83f5695 /scripts/mod/file2alias.c | |
| parent | debugfs: be more robust at handling improper input in debugfs_lookup() (diff) | |
| download | kernel-56348560d495d2501e87db559a61de717cd3ab02.tar.gz kernel-56348560d495d2501e87db559a61de717cd3ab02.zip | |
debugfs: do not attempt to create a new file before the filesystem is initalized
Some subsystems want to add debugfs files at early boot, way before
debugfs is initialized. This seems to work somehow as the vfs layer
will not allow it to happen, but let's be explicit and test to ensure we
are properly up and running before allowing files to be created.
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: stable <[email protected]>
Reported-by: Michael Walle <[email protected]>
Reported-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
