]> git.baikalelectronics.ru Git - kernel.git/commit
Blktrace: bail out early if block debugfs is not configured
authorLiu Bo <bo.liu@linux.alibaba.com>
Fri, 29 Jun 2018 01:56:08 +0000 (09:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commit929b0b520d7575a92144d2972145f55924cd1347
tree13f7fc57e754cd37e299f70158d8c5943d553718
parentcc8da8398f66786a33bc92afa959538e20e30ad8
Blktrace: bail out early if block debugfs is not configured

Since @blk_debugfs_root couldn't be configured dynamically, we can
save a few memory allocation if it's not there.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c