[RAMEN9610-9428] debugfs: convert to debugfs_file_get() and -put()
authorNicolai Stange <nicstange@gmail.com>
Mon, 30 Oct 2017 23:15:50 +0000 (00:15 +0100)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:09 +0000 (20:23 +0300)
commit456fa03f0b32409976068df928352adc470cfacb
tree59a21fd62f8ad10bc657a4c482df8374bcb16cca
parent44247548fc3795616c9f40769aa9cb6603db286d
[RAMEN9610-9428] debugfs: convert to debugfs_file_get() and -put()

Convert all calls to the now obsolete debugfs_use_file_start() and
debugfs_use_file_finish() from the debugfs core itself to the new
debugfs_file_get() and debugfs_file_put() API.

Fixes: 49d200deaa68 ("debugfs: prevent access to removed files' private data")
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c