Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

debugfs: debugfs_use_start/finish do not exist anymore

debugfs_use_file_start() and debugfs_use_file_finish() do not exist
since commit c9afbec27089 ("debugfs: purge obsolete SRCU based removal
protection"); tweak debugfs_create_file_unsafe() comment.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sergey Senozhatsky and committed by
Greg Kroah-Hartman
0eeb2731 f96182e9

+2 -2
+2 -2
fs/debugfs/inode.c
··· 422 422 * debugfs core. 423 423 * 424 424 * It is your responsibility to protect your struct file_operation 425 - * methods against file removals by means of debugfs_use_file_start() 426 - * and debugfs_use_file_finish(). ->open() is still protected by 425 + * methods against file removals by means of debugfs_file_get() 426 + * and debugfs_file_put(). ->open() is still protected by 427 427 * debugfs though. 428 428 * 429 429 * Any struct file_operations defined by means of