From: Nyk Tarr <nyk@giantx.co.uk>
To: linux-kernel@vger.kernel.org
Subject: 2.5.44-ac4 scsi CDROMEJECT problem
Date: Sun, 27 Oct 2002 22:31:39 +0000 [thread overview]
Message-ID: <20021027223138.GA601@giantx.co.uk> (raw)
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
--
/__
\_|\/
/\
next reply other threads:[~2002-10-27 22:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-27 22:31 Nyk Tarr [this message]
2002-10-28 8:15 ` 2.5.44-ac4 scsi CDROMEJECT problem Jens Axboe
2002-10-28 10:54 ` Nyk Tarr
2002-10-28 10:57 ` Jens Axboe
2002-10-28 11:41 ` Nyk Tarr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021027223138.GA601@giantx.co.uk \
--to=nyk@giantx.co.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox