public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.44-ac4 scsi CDROMEJECT problem
@ 2002-10-27 22:31 Nyk Tarr
  2002-10-28  8:15 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Nyk Tarr @ 2002-10-27 22:31 UTC (permalink / raw)
  To: linux-kernel

Hi

This patch of Jens Axboe was missing from 2.5.44-ac4. Was this by design
or accidental?



> Irk you are on SCSI, yes you need this incremental patch for that to
> work. Sorry about that, I've put up 16b which contains this.

--- drivers/block/scsi_ioctl.c~	2002-10-25 16:46:58.000000000 +0200
+++ drivers/block/scsi_ioctl.c	2002-10-25 16:47:32.000000000 +0200
@@ -319,6 +319,8 @@
 		case CDROMEJECT:
 			rq = blk_get_request(q, WRITE, __GFP_WAIT);
 			rq->flags = REQ_BLOCK_PC;
+			rq->rq_dev = to_kdev_t(bdev->bd_dev);
+			rq->rq_disk = bdev->bd_disk;
 			rq->data = NULL;
 			rq->data_len = 0;
 			rq->timeout = BLK_DEFAULT_TIMEOUT;

> -- 
> Jens Axboe

-- 
/__
\_|\/
   /\

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-28 11:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-27 22:31 2.5.44-ac4 scsi CDROMEJECT problem Nyk Tarr
2002-10-28  8:15 ` Jens Axboe
2002-10-28 10:54   ` Nyk Tarr
2002-10-28 10:57     ` Jens Axboe
2002-10-28 11:41       ` Nyk Tarr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox