summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorAaron Thompson <dev@aaront.org>2025-11-20 10:26:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-27 10:45:20 +0100
commit3ae94a55d047d133fad1e6c811befe4347b75791 (patch)
treed5e3f84f31cd427fa441f972f3bed45addd16128 /tools/docs/parse-headers.py
parentea34511aaf755349999a1067b2984a541bee1492 (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