* [PATCH] debugfs: debugfs_use_start/finish do not exist anymore
@ 2018-12-30 3:46 Sergey Senozhatsky
2019-01-02 9:41 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Senozhatsky @ 2018-12-30 3:46 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rafael J . Wysocki; +Cc: linux-kernel, Sergey Senozhatsky
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>
---
fs/debugfs/inode.c | 4 ++--
1 file 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
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] debugfs: debugfs_use_start/finish do not exist anymore
2018-12-30 3:46 [PATCH] debugfs: debugfs_use_start/finish do not exist anymore Sergey Senozhatsky
@ 2019-01-02 9:41 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2019-01-02 9:41 UTC (permalink / raw)
To: Sergey Senozhatsky
Cc: Greg Kroah-Hartman, Rafael J . Wysocki, Linux Kernel Mailing List
On Sun, Dec 30, 2018 at 4:49 AM Sergey Senozhatsky
<sergey.senozhatsky@gmail.com> wrote:
>
> 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>
> ---
> fs/debugfs/inode.c | 4 ++--
> 1 file 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
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-02 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-30 3:46 [PATCH] debugfs: debugfs_use_start/finish do not exist anymore Sergey Senozhatsky
2019-01-02 9:41 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®