Commit 0eeb2731 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by Greg Kroah-Hartman

debugfs: debugfs_use_start/finish do not exist anymore

debugfs_use_file_start() and debugfs_use_file_finish() do not exist
since commit c9afbec2 ("debugfs: purge obsolete SRCU based removal
protection"); tweak debugfs_create_file_unsafe() comment.
Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f96182e9
...@@ -422,8 +422,8 @@ EXPORT_SYMBOL_GPL(debugfs_create_file); ...@@ -422,8 +422,8 @@ EXPORT_SYMBOL_GPL(debugfs_create_file);
* debugfs core. * debugfs core.
* *
* It is your responsibility to protect your struct file_operation * It is your responsibility to protect your struct file_operation
* methods against file removals by means of debugfs_use_file_start() * methods against file removals by means of debugfs_file_get()
* and debugfs_use_file_finish(). ->open() is still protected by * and debugfs_file_put(). ->open() is still protected by
* debugfs though. * debugfs though.
* *
* Any struct file_operations defined by means of * Any struct file_operations defined by means of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment