Skip to content
Commit 1d1cf156 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

sg: pass the device name to blk_trace_setup



Fix a regression that passed a NULL device name to blk_trace_setup
accidentally.

Fixes: aebbb583 ("sg: do not allocate a gendisk")
Reported-by: default avatar <syzbot+f74aa89114a236643919@syzkaller.appspotmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMax Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20210825075438.1883687-1-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1e294970
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment