Skip to content
  • Bartlomiej Zolnierkiewicz's avatar
    ide: add ide_end_rq() (v2) · 1caf236d
    Bartlomiej Zolnierkiewicz authored
    
    
    * Move request dequeuing from __ide_end_request() to ide_end_request().
    
    * Rename __ide_end_request() to ide_end_rq() and export it.
    
    * Fix ide_end_rq() to pass original blk_end_request() return value.
    
    * ide_end_dequeued_request() is used only in cdrom_end_request()
      so inline it there and then remove the function.
    
    v2:
    * Remove needless BUG_ON() while at it (start_request()'s one is enough).
    
    There should be no functional changes caused by this patch.
    
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    1caf236d