]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6d97cdfeb9e5d49eb0d2bcb2b1ffd19200943a6
treec3db7a0ad4faca3ab44d8b1da54ddadb978305c7
parentc285b21bfb56195a369d2fc3c356b7cfab98443d
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