diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-16 18:52:47 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-23 19:54:51 +0300 |
commit | c0ea57608b691d6cde8aff23e11f9858a86b5918 (patch) | |
tree | c3db7a0ad4faca3ab44d8b1da54ddadb978305c7 /include/linux/blktrace_api.h | |
parent | c9a2f90f4d6b9d42b9912f7aaf68e8d748acfffd (diff) | |
download | linux-c0ea57608b691d6cde8aff23e11f9858a86b5918.tar.xz |
blktrace: remove debugfs file dentries from struct blk_trace
These debugfs dentries do not need to be saved for anything as the whole
directory and everything in it is properly cleaned up when the parent
directory is removed. So remove them from struct blk_trace and don't
save them when created as it's not necessary.
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-block@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index e17d04abf6a3..a083e15df608 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h @@ -23,8 +23,6 @@ struct blk_trace { u32 pid; u32 dev; struct dentry *dir; - struct dentry *dropped_file; - struct dentry *msg_file; struct list_head running_list; atomic_t dropped; }; |