blktrace: remove debugfs file dentries from struct blk_trace
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Feb 2021 15:52:47 +0000 (16:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Feb 2021 16:54:51 +0000 (09:54 -0700)
commitc0ea57608b691d6cde8aff23e11f9858a86b5918
treec3db7a0ad4faca3ab44d8b1da54ddadb978305c7
parentc9a2f90f4d6b9d42b9912f7aaf68e8d748acfffd
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>
include/linux/blktrace_api.h
kernel/trace/blktrace.c