]> www.infradead.org Git - users/hch/misc.git/commit
zynqmp: don't bother with debugfs_file_{get,put}() in proxied fops
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:14:08 +0000 (22:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:28 +0000 (13:30 +0200)
commit327a206c0e1484b960e7804954d568bf80bad93c
tree0d28403dcfea594d9c85c4466e0e4bcf055a053b
parent5f512533b7aa780488c15e001791d1b8000ad50e
zynqmp: don't bother with debugfs_file_{get,put}() in proxied fops

When debugfs file has been created by debugfs_create_file_unsafe(),
we do need the file_operations methods to use debugfs_file_{get,put}()
to prevent concurrent removal; for files created by debugfs_create_file()
that is done in the wrappers that call underlying methods, so there's
no point whatsoever duplicating that in the underlying methods themselves.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250702211408.GA3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xlnx/zynqmp_dp.c