On Thu, Mar 24, 2022 at 02:46:03PM +0100, Tomas Henzl wrote: > The request_queue may be NULL in a request, for example when it comes > from scsi_ioctl_reset. > Check it before before use. > > Fixes: f3fa33acca9f ("block: remove the ->rq_disk field in struct request") > > Reported-by: Changhui Zhong <czhong@xxxxxxxxxx> > Signed-off-by: Tomas Henzl <thenzl@xxxxxxxxxx> As a quick fix this look good: Reviewed-by: Christoph Hellwig <hch@xxxxxx> but I really wonder if we should print some other identifier if the disk name is not available.