diff options
| author | Aaron Thompson <dev@aaront.org> | 2025-11-20 10:26:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-27 10:45:20 +0100 |
| commit | 3ae94a55d047d133fad1e6c811befe4347b75791 (patch) | |
| tree | d5e3f84f31cd427fa441f972f3bed45addd16128 /tools/docs/parse-headers.py | |
| parent | ea34511aaf755349999a1067b2984a541bee1492 (diff) | |
debugfs: Remove redundant access mode checks
debugfs_get_tree() can only be called if debugfs itself calls
simple_pin_fs() or register_filesystem(), and those call paths also
check the access mode.
debugfs_start_creating() checks the access mode so the checks in the
debugfs_create_* functions are unnecessary.
An upcoming change will affect debugfs_allow, so doing this cleanup
first will make that change simpler.
Signed-off-by: Aaron Thompson <dev@aaront.org>
Link: https://patch.msgid.link/20251120102222.18371-2-dev@null.aaront.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
