]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
debugfs: remove duplicate checks in callers of start_creating()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Sep 2025 22:58:42 +0000 (18:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Nov 2025 06:35:03 +0000 (01:35 -0500)
commit0703b36e4e1cee524cabdefab927896022300195
tree6bc1cac0176741e00805375f8ae30a3bf83a1e62
parentebb54484c3dfcd0ab63e1cec9c115f9ffa827461
debugfs: remove duplicate checks in callers of start_creating()

we'd already verified that DEBUGFS_ALLOW_API was there in
start_creating() - it would've failed otherwise

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/debugfs/inode.c