diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2018-12-30 06:46:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 12:30:35 +0300 |
commit | 0eeb27311f3a06b39ed51027260fb46c8b04357c (patch) | |
tree | 8f71e215b61947fb248571fe53e6c3fd801e009b /fs/debugfs | |
parent | f96182e959a41e35df0adae9ae09a49ff8a618a8 (diff) | |
download | linux-0eeb27311f3a06b39ed51027260fb46c8b04357c.tar.xz |
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>
Diffstat (limited to 'fs/debugfs')
-rw-r--r-- | fs/debugfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 13b01351dd1c..4354069101b4 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -422,8 +422,8 @@ EXPORT_SYMBOL_GPL(debugfs_create_file); * debugfs core. * * It is your responsibility to protect your struct file_operation - * methods against file removals by means of debugfs_use_file_start() - * and debugfs_use_file_finish(). ->open() is still protected by + * methods against file removals by means of debugfs_file_get() + * and debugfs_file_put(). ->open() is still protected by * debugfs though. * * Any struct file_operations defined by means of |