Re: [GIT PULL] first round of SCSI updates for the 5.14+ merge window

From: Christoph Hellwig
Date: Fri Sep 03 2021 - 00:28:50 EST


On Thu, Sep 02, 2021 at 04:23:43PM -0700, James Bottomley wrote:
> >
> > Just checking that was fine, and I notice how *many* places do that.
> >
> > Should the blk_execute_rq() function even take that "struct gendisk
> > *bd_disk" argument at all?

No, it shouldn't. rq->rq_disk should go away and use rq->q->disk
instead. This has been on my TODO list, but didn't make the cut for
this merge window.